浏览代码

Removing var_dump and fixing a php notice

Julio Montoya 12 年之前
父节点
当前提交
d8583e1b81
共有 2 个文件被更改,包括 1 次插入2 次删除
  1. 1 1
      main/admin/careers.php
  2. 0 1
      main/coursecopy/classes/CourseRestorer.class.php

+ 1 - 1
main/admin/careers.php

@@ -37,7 +37,7 @@ if ($action == 'add') {
     $interbreadcrumb[] = array('url' => '#', 'name' => get_lang('Careers'));
 }
 
-Display::display_header($tool_name);
+Display::display_header();
 
 //jqgrid will use this URL to do the selects
 $url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_careers';

+ 0 - 1
main/coursecopy/classes/CourseRestorer.class.php

@@ -1548,7 +1548,6 @@ class CourseRestorer
                                 }
                             //}
                         }
-                        var_dump($cats);
                         $exercise_obj->save_categories_in_exercise($cats);
                     }
                 }