From 18fa8e27537c3aa785d2ea9ca6c2a83dc5882757 Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 9 Feb 2013 15:06:29 +0100 Subject: [PATCH] json_encode the appid --- settings/js/apps-custom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/settings/js/apps-custom.php b/settings/js/apps-custom.php index 9ec2a758ee..d827dfc705 100644 --- a/settings/js/apps-custom.php +++ b/settings/js/apps-custom.php @@ -23,4 +23,4 @@ foreach($combinedApps as $app) { echo("\n"); } -echo ("var appid =\"".$_GET['appid']."\";"); \ No newline at end of file +echo ("var appid =".json_encode($_GET['appid']).";"); \ No newline at end of file