$sql='UPDATE '.$tbl_forum_thread.' SET thread_qualify_max=0,thread_weight=0,thread_title_qualify="" WHERE thread_id=(SELECT ref_id FROM '.$tbl_grade_links.' where id='.Security::remove_XSS($_GET['deletelink']).');';
@ -278,6 +280,7 @@ if (isset ($_GET['deletelink'])) {
$sql='UPDATE '.$tbl_forum_thread.' SET thread_qualify_max=0,thread_weight=0,thread_title_qualify="" WHERE thread_id=(SELECT ref_id FROM '.$tbl_grade_links.' where id='.$get_delete_link.');';
@ -336,6 +338,7 @@ if (isset ($_GET['deletelink'])) {
unset ($link);
$confirmation_message = get_lang('LinkDeleted');
$filter_confirm_msg = false;
}
}
if (!empty($course_to_crsind) && !isset($_GET['confirm'])) {
@ -387,14 +390,17 @@ if (isset ($_POST['action'])) {