diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2014-02-20 10:28:11 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2014-02-20 10:28:11 +0100 |
commit | ba7a79372a1e7f29f8f9de015fcc8500b6fed8dc (patch) | |
tree | f30872e2b81da8e50d303c00e1e02df81345d3b2 /core/js/config.php | |
parent | b61f0f11c5aa03240d3c18f02a1c790bd43522c0 (diff) | |
download | nextcloud-server-ba7a79372a1e7f29f8f9de015fcc8500b6fed8dc.tar.gz nextcloud-server-ba7a79372a1e7f29f8f9de015fcc8500b6fed8dc.zip |
Variable value is expected and not an echoed output
Diffstat (limited to 'core/js/config.php')
-rw-r--r-- | core/js/config.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/js/config.php b/core/js/config.php index 6185be523e7..a9fd9d01098 100644 --- a/core/js/config.php +++ b/core/js/config.php @@ -24,7 +24,7 @@ foreach(OC_App::getEnabledApps() as $app) { $array = array( "oc_debug" => (defined('DEBUG') && DEBUG) ? 'true' : 'false', - "ox_isadmin" => p(OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false'); + "ox_isadmin" => OC_User::isAdminUser(OC_User::getUser()) ? 'true' : 'false', "oc_webroot" => "\"".OC::$WEBROOT."\"", "oc_appswebroots" => str_replace('\\/', '/', json_encode($apps_paths)), // Ugly unescape slashes waiting for better solution "datepickerFormatDate" => json_encode($l->l('jsdate', 'jsdate')), |