summaryrefslogtreecommitdiffstats
path: root/inc/configmodule.inc.php
diff options
context:
space:
mode:
authorSimon Rettberg2014-06-23 19:49:05 +0200
committerSimon Rettberg2014-06-23 19:49:05 +0200
commit4d3b6c18bbb43c95974ef2cd892f94209cffb589 (patch)
tree12935292ab6efe7e0c759722f7062a61773e6e6e /inc/configmodule.inc.php
parentSome minor html fixes/improvements (diff)
downloadslx-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.php2
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;