瀏覽代碼

Minor - fix undefined variable

ywarnier 14 年之前
父節點
當前提交
830aa07149
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      main/inc/lib/thematic.lib.php

+ 1 - 1
main/inc/lib/thematic.lib.php

@@ -598,7 +598,7 @@ class Thematic
 	 * @return	int		Affected rows
 	 */
 	public function thematic_plan_destroy($thematic_id, $description_type) {
-
+        global $_course;
 		// definition database table
 		$tbl_thematic_plan = Database::get_course_table(TABLE_THEMATIC_PLAN);