summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2011-08-24 14:36:03 +0200
committerArthur Schiwon <blizzz@arthur-schiwon.de>2011-08-24 14:36:03 +0200
commit0f3ef8aeb0a67516a386c69daceb595713fccd29 (patch)
treeabb275461472ae5bbedbf249c05d6d3d11c014aa /apps
parentb09ba58ca6a8e1c9979c8e289027fe5b1ddd2130 (diff)
downloadnextcloud-server-0f3ef8aeb0a67516a386c69daceb595713fccd29.tar.gz
nextcloud-server-0f3ef8aeb0a67516a386c69daceb595713fccd29.zip
check if tag is set, might not show bookmarks on some systems without doing so
Diffstat (limited to 'apps')
-rw-r--r--apps/bookmarks/templates/list.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/bookmarks/templates/list.php b/apps/bookmarks/templates/list.php
index 769ad815244..a9e65b68873 100644
--- a/apps/bookmarks/templates/list.php
+++ b/apps/bookmarks/templates/list.php
@@ -1,4 +1,4 @@
-<input type="hidden" id="bookmarkFilterTag" value="<?php echo htmlentities($_GET['tag']); ?>" />
+<input type="hidden" id="bookmarkFilterTag" value="<?php if(isset($_GET['tag'])) echo htmlentities($_GET['tag']); ?>" />
<h2 class="bookmarks_headline"><?php echo isset($_GET["tag"]) ? 'Bookmarks with tag: ' . urldecode($_GET["tag"]) : 'All bookmarks'; ?></h2>
<div class="bookmarks_menu">
<input type="button" class="bookmarks_addBtn" value="Add Bookmark" />