]> git.mjollnir.org Git - moodle.git/commitdiff
Old fix I'd forgotten
authormoodler <moodler>
Mon, 5 Mar 2007 07:17:32 +0000 (07:17 +0000)
committermoodler <moodler>
Mon, 5 Mar 2007 07:17:32 +0000 (07:17 +0000)
mod/data/tabs.php

index a3f9071cf8ab01817479fbff1fa8e7486910fbeb..efc6f40fa07093dc83f368c56148de361e752e97 100755 (executable)
@@ -71,9 +71,7 @@
     }
 
     $tabs[] = $row;
-    /*****************************
-    * stolen code from quiz report
-    *****************************/
+
     if ($currenttab == 'templates' and isset($mode)) {
 
         $inactive[] = 'templates';
@@ -82,8 +80,7 @@
         $row  = array();
         $currenttab ='';
         foreach ($templatelist as $template) {
-            $row[] = new tabobject($template, "templates.php?d=$data->id&amp;mode=$template",
-                                    get_string($template, 'data'));
+            $row[] = new tabobject($template, "templates.php?d=$data->id&amp;mode=$template", get_string($template, 'data'));
             if ($template == $mode) {
                 $currenttab = $template;
             }