diff options
author | Simon Rettberg | 2014-06-23 19:49:05 +0200 |
---|---|---|
committer | Simon Rettberg | 2014-06-23 19:49:05 +0200 |
commit | 4d3b6c18bbb43c95974ef2cd892f94209cffb589 (patch) | |
tree | 12935292ab6efe7e0c759722f7062a61773e6e6e /inc/configmodule.inc.php | |
parent | Some minor html fixes/improvements (diff) | |
download | slx-admin-4d3b6c18bbb43c95974ef2cd892f94209cffb589.tar.gz slx-admin-4d3b6c18bbb43c95974ef2cd892f94209cffb589.tar.xz slx-admin-4d3b6c18bbb43c95974ef2cd892f94209cffb589.zip |
Rebuild AD config modules if server IP changed...
Also add vmchooser URL to getconfig, fix shell string escaping
Diffstat (limited to 'inc/configmodule.inc.php')
-rw-r--r-- | inc/configmodule.inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
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; |