diff --git a/core/trunk/core/manage_action.php b/core/trunk/core/manage_action.php index b19eb8c5831901617282a53f2b0cd518a9344b33..bfa35beb97f931ec9641107441e4a142d9b2428f 100644 --- a/core/trunk/core/manage_action.php +++ b/core/trunk/core/manage_action.php @@ -219,7 +219,7 @@ else echo "{status : 6, error_txt : '".addslashes($_SESSION['action_error'])."'}"; 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(); if ($lineStatus->id <> '') { // Update the status