Explorar o código

Minor - fix undefined variable

ywarnier %!s(int64=14) %!d(string=hai) anos
pai
achega
830aa07149
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);