]> git.mjollnir.org Git - moodle.git/commitdiff
fixing a warning
authortoyomoyo <toyomoyo>
Mon, 26 Mar 2007 03:06:39 +0000 (03:06 +0000)
committertoyomoyo <toyomoyo>
Mon, 26 Mar 2007 03:06:39 +0000 (03:06 +0000)
course/lib.php

index f74154aed99c2169f0aee38af7bd233a3397ff94..b99abecb42592390b571813591a387346cfaf350 100644 (file)
@@ -2301,6 +2301,8 @@ function make_editing_buttons($mod, $absolute=false, $moveselect=true, $indent=-
                         ' src="'.$CFG->pixpath.'/t/down.gif" class="iconsmall" '.
                         ' alt="'.$str->movedown.'" /></a>'."\n";
         }
+    } else {
+        $move = '';  
     }
 
     $leftright = "";