]> source.dussan.org Git - nextcloud-server.git/commitdiff
Missed an "echo"
authorLukas Reschke <lukas@statuscode.ch>
Thu, 9 Aug 2012 20:17:52 +0000 (22:17 +0200)
committerJörn Friedrich Dreyer <jfd@butonic.de>
Fri, 24 Aug 2012 12:58:47 +0000 (14:58 +0200)
apps/gallery/sharing.php

index a9683c020673979626ede2bc1d0c37c192065043..af3e553e45419220553f613931772cde9b07e9d1 100644 (file)
@@ -37,7 +37,7 @@ OCP\App::checkAppEnabled('gallery');
     <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js" type="text/javascript"></script>
     <script src="js/sharing.js" type="text/javascript"></script>
     <script>
-      var TOKEN = '<?php htmlentities(echo $_GET['token']); ?>';
+      var TOKEN = '<?php echo htmlentities($_GET['token']); ?>';
     </script>
   </head>
   <body>