check if tag is set, might not show bookmarks on some systems without doing so

This commit is contained in:
Arthur Schiwon 2011-08-24 14:36:03 +02:00
parent b09ba58ca6
commit 0f3ef8aeb0
1 changed files with 1 additions and 1 deletions

View 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" />