From 0b9b0bd541f7e0ee64201858dc4ceec6ad43bd2d Mon Sep 17 00:00:00 2001 From: Laurent Giovannoni <laurent.giovannoni@maarch.org> Date: Sat, 30 Mar 2013 06:33:13 +0000 Subject: [PATCH] fix: #637 --- core/trunk/core/manage_action.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/trunk/core/manage_action.php b/core/trunk/core/manage_action.php index b19eb8c5831..bfa35beb97f 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 -- GitLab