]> source.dussan.org Git - nextcloud-server.git/commitdiff
json_encode the appid
authorLukas Reschke <lukas@statuscode.ch>
Sat, 9 Feb 2013 14:06:29 +0000 (15:06 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 9 Feb 2013 14:06:35 +0000 (15:06 +0100)
settings/js/apps-custom.php

index 9ec2a758ee3b5806bf28a016861507cabef9ca36..d827dfc7058e74cfade6286b7a67c7cbbfd6f725 100644 (file)
@@ -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