From 4d3b6c18bbb43c95974ef2cd892f94209cffb589 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 23 Jun 2014 19:49:05 +0200 Subject: Rebuild AD config modules if server IP changed... Also add vmchooser URL to getconfig, fix shell string escaping --- inc/configmodule.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'inc/configmodule.inc.php') diff --git a/inc/configmodule.inc.php b/inc/configmodule.inc.php index e9fa40bb..5c789275 100644 --- a/inc/configmodule.inc.php +++ b/inc/configmodule.inc.php @@ -40,7 +40,7 @@ class ConfigModule Database::exec("UPDATE configtgz_module SET filepath = :filename, contents = :contents WHERE moduleid = :id LIMIT 1", array( 'id' => $id, 'filename' => $name, - 'contents' => json_encode($ownEntry) + 'contents' => $data )); // Add archive file name to array before returning it $ownEntry['moduleid'] = $id; -- cgit v1.2.3-55-g7522