summaryrefslogtreecommitdiffstats
path: root/apps/gallery
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 19:07:51 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 19:07:51 +0200
commit2b22c538c8cafafedb057947ff90abb5d219c903 (patch)
tree1082ac159bceb05207b36be26e0e4b53bcdf8bcb /apps/gallery
parent6d68b7620cd38fda23d2d5dec73a80818035c38d (diff)
downloadnextcloud-server-2b22c538c8cafafedb057947ff90abb5d219c903.tar.gz
nextcloud-server-2b22c538c8cafafedb057947ff90abb5d219c903.zip
Make some apps compatible
Diffstat (limited to 'apps/gallery')
-rw-r--r--apps/gallery/lib/tiles.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/gallery/lib/tiles.php b/apps/gallery/lib/tiles.php
index 5837c752ef6..e43c99bb76a 100644
--- a/apps/gallery/lib/tiles.php
+++ b/apps/gallery/lib/tiles.php
@@ -141,7 +141,7 @@ class TileStack extends TileBase {
}
public function get() {
- $r = '<div class="title gallery_div">'.htmlentities($this->stack_name).'</div>';
+ $r = '<div class="title gallery_div">'.$this->stack_name.'</div>';
for ($i = 0; $i < count($this->tiles_array); $i++) {
$top = rand(-5, 5);
$left = rand(-5, 5);
@@ -168,7 +168,7 @@ class TileStack extends TileBase {
}
public function getOnClickAction() {
- return 'javascript:openNewGal(\''.htmlentities($this->stack_name).'\');';
+ return 'javascript:openNewGal(\''.$this->stack_name.'\');';
}
private $tiles_array;