]> git.mjollnir.org Git - moodle.git/commitdiff
Fixed small error
authorstronk7 <stronk7>
Sun, 21 Sep 2003 23:07:18 +0000 (23:07 +0000)
committerstronk7 <stronk7>
Sun, 21 Sep 2003 23:07:18 +0000 (23:07 +0000)
mod/glossary/backuplib.php

index 5a8996c479d6c1df4cc1e114f86c07d064bc3331..121c76fded0cb7b4c1ebd4152f678a662279763f 100644 (file)
@@ -83,7 +83,7 @@
                     $entries = get_records("glossary_entries_categories","categoryid",$glo_cat->id,"glossaryid");
                     if ($entries) {
                          $status =fwrite ($bf,start_tag("ENTRIES",6,true));
-                         foreach ($entries -> $entry) {
+                         foreach ($entries as $entry) {
                               fwrite ($bf,full_tag("ENTRYID",7,false,$entry->entryid));
                          }
                          $status =fwrite ($bf,end_tag("ENTRIES",6,true));