Browse Source

Minor - fix undefined variable

ywarnier 14 năm trước cách đây
mục cha
commit
830aa07149
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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);