From fe7bfcc7c2fce92b1b8e06c959a3ab4fe36012cf Mon Sep 17 00:00:00 2001 From: Michael Kaufmann Date: Wed, 13 Nov 2019 15:28:08 +0100 Subject: [PATCH] fix update of hosting plans via interface; fixes #753 Signed-off-by: Michael Kaufmann --- admin_plans.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/admin_plans.php b/admin_plans.php index 0bc3770e..69448c1d 100644 --- a/admin_plans.php +++ b/admin_plans.php @@ -189,9 +189,7 @@ if ($page == '' || $page == 'overview') { if (isset($_POST['send']) && $_POST['send'] == 'send') { try { - HostingPlans::getLocal($userinfo, array( - 'id' => $id - ))->update(); + HostingPlans::getLocal($userinfo, $_POST)->update(); } catch (Exception $e) { \Froxlor\UI\Response::dynamic_error($e->getMessage()); }