]> git.mjollnir.org Git - moodle.git/commitdiff
Got ahead of myself, fixed by bug fix
authormark-nielsen <mark-nielsen>
Tue, 19 Sep 2006 04:49:45 +0000 (04:49 +0000)
committermark-nielsen <mark-nielsen>
Tue, 19 Sep 2006 04:49:45 +0000 (04:49 +0000)
mod/lesson/action/addpage.php

index 6874e042b03847d0ed4945ab9404b85dbeda26bd..26d33678bac9fcf2c131db7720383430d7c4e896 100644 (file)
@@ -27,7 +27,7 @@
     }
     if (!optional_param('firstpage', 0, PARAM_INT)) {
         $linkadd = "";      
-        $apageid = get_field("lesson_pages", "id", "lessonid", $lesson->id, "prevpageid", 0)) {
+        $apageid = get_field("lesson_pages", "id", "lessonid", $lesson->id, "prevpageid", 0);
         
         while (true) {
             if ($apageid) {