|
|
@ -4531,7 +4531,7 @@ class learnpath |
|
|
|
if (empty($name)) { |
|
|
|
if (empty($name)) { |
|
|
|
return false; |
|
|
|
return false; |
|
|
|
} |
|
|
|
} |
|
|
|
$this->name = $name; |
|
|
|
$this->name = Database::escape_string($name); |
|
|
|
$lp_table = Database :: get_course_table(TABLE_LP_MAIN); |
|
|
|
$lp_table = Database :: get_course_table(TABLE_LP_MAIN); |
|
|
|
$lp_id = $this->get_id(); |
|
|
|
$lp_id = $this->get_id(); |
|
|
|
$course_id = $this->course_info['real_id']; |
|
|
|
$course_id = $this->course_info['real_id']; |
|
|
|