fixed var name typo
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:16:38 +0000 (12:16 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:16:38 +0000 (12:16 +0000)
mod/chat/index.php

index c3c70c7..fbc6d37 100644 (file)
@@ -75,7 +75,7 @@ foreach ($chats as $chat) {
         }
         $currentsection = $chat->section;
     }
-    if ($usesection) {
+    if ($usesections) {
         $table->data[] = array ($printsection, $link);
     } else {
         $table->data[] = array ($link);