]> source.dussan.org Git - nextcloud-server.git/commitdiff
check if tag is set, might not show bookmarks on some systems without doing so
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 24 Aug 2011 12:36:03 +0000 (14:36 +0200)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Wed, 24 Aug 2011 12:36:03 +0000 (14:36 +0200)
apps/bookmarks/templates/list.php

index 769ad815244557f450568f3adc9854fdcbfe9f9d..a9e65b688732328b1ecbbb5071e4d446b58043a3 100644 (file)
@@ -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" />