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