@ -562,7 +562,7 @@ function delete_post($post_id)
thread_last_post='".mysql_real_escape_string($last_post_of_thread['post_id'])."',
thread_date='".mysql_real_escape_string($last_post_of_thread['post_date'])."'
WHERE thread_id='".mysql_real_escape_string($_GET['thread'])."'";
echo $sql;
api_sql_query($sql,__FILE__,__LINE__);
return 'PostDeleted';
}