From cb208bf2b4b804d7a513aa94f4c215633f3ecbe7 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 14 Jun 2003 12:00:31 +0000 Subject: [PATCH] Silly typo --- course/format/topics.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/course/format/topics.php b/course/format/topics.php index 97a036ca7f..a72b83bb18 100644 --- a/course/format/topics.php +++ b/course/format/topics.php @@ -137,7 +137,7 @@ if (!empty($displaysection) and $displaysection != $section) { if (!empty($sections[$section])) { - if (strlen($sections[$section]->summary < 57)) { + if (strlen($sections[$section]->summary) < 57) { $strsummary = " - ".$sections[$section]->summary; } else { $strsummary = " - ".substr($sections[$section]->summary, 0, 60)."..."; -- 2.39.5