]> git.mjollnir.org Git - moodle.git/commitdiff
Silly typo
authormoodler <moodler>
Sat, 14 Jun 2003 12:00:31 +0000 (12:00 +0000)
committermoodler <moodler>
Sat, 14 Jun 2003 12:00:31 +0000 (12:00 +0000)
course/format/topics.php

index 97a036ca7f791bfbd9bf6d66262e1d58b844ada3..a72b83bb1808bc7000fd3c39e34bc11627891a94 100644 (file)
 
         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)."...";