Skip to content
Snippets Groups Projects
Commit 0b9b0bd5 authored by Giovannoni Laurent's avatar Giovannoni Laurent
Browse files

fix: #637

parent 8268ab0d
No related branches found
No related tags found
No related merge requests found
...@@ -219,7 +219,7 @@ else ...@@ -219,7 +219,7 @@ else
echo "{status : 6, error_txt : '".addslashes($_SESSION['action_error'])."'}"; echo "{status : 6, error_txt : '".addslashes($_SESSION['action_error'])."'}";
exit(); exit();
} }
$db->query("select id from status where id ='" . $_POST['new_status'] . "'"); $db->query("select id from status where id ='" . $status . "'");
$lineStatus = $db->fetch_object(); $lineStatus = $db->fetch_object();
if ($lineStatus->id <> '') { if ($lineStatus->id <> '') {
// Update the status // Update the status
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment