From 0b2c4118a0894f722318ae4d861baddb8f66fd4d Mon Sep 17 00:00:00 2001 From: Marius Burkard <m.burkard@pixcept.de> Date: Wed, 20 Apr 2016 04:38:54 -0400 Subject: [PATCH] Merge branch 'stable-3.1' --- interface/lib/classes/remote.d/openvz.inc.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/interface/lib/classes/remote.d/openvz.inc.php b/interface/lib/classes/remote.d/openvz.inc.php index c427a1f..a4ef38a 100644 --- a/interface/lib/classes/remote.d/openvz.inc.php +++ b/interface/lib/classes/remote.d/openvz.inc.php @@ -307,7 +307,7 @@ $params['vm_password'] = (isset($override_params['vm_password']))?$override_params['vm_password']:$app->auth->get_random_password(10); $params['start_boot'] = (isset($override_params['start_boot']))?$override_params['start_boot']:'y'; $params['active'] = (isset($override_params['active']))?$override_params['active']:'y'; - $params['active_until_date'] = (isset($override_params['active_until_date']))?$override_params['active_until_date']:'0000-00-00'; + $params['active_until_date'] = (isset($override_params['active_until_date']))?$override_params['active_until_date']:null; $params['description'] = (isset($override_params['description']))?$override_params['description']:''; //* The next params get filled with pseudo values, as the get replaced -- Gitblit v1.9.1