summaryrefslogtreecommitdiffstats
path: root/settings/templates/settings.php
diff options
context:
space:
mode:
Diffstat (limited to 'settings/templates/settings.php')
-rw-r--r--settings/templates/settings.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/settings/templates/settings.php b/settings/templates/settings.php
index b3589a60cd4..299396f299d 100644
--- a/settings/templates/settings.php
+++ b/settings/templates/settings.php
@@ -21,7 +21,6 @@ style('settings', 'settings');
// Did we have some data to inject ?
if(is_array($_['serverData'])) {
- $serverData = json_encode($_['serverData']);
?>
-<span id="serverData" data-server="<?php p($serverData);?>"></span>
+<span id="serverData" data-server="<?php p(json_encode($_['serverData']));?>"></span>
<?php } ?>