- <?php if (!in_array($range, array($currentUsername, 'all', 'watchlist')) && $user != $currentUsername): ?>
- <option value="<?php echo $user ?>"<?php echo $selectUser; ?>><?php echo T_("this user's bookmarks"); ?></option>
+ <?php if (isset($currentUsername) && $user != $currentUsername): ?>
+ <option value="<?php echo $user ?>"><?php echo T_("this user's bookmarks"); ?></option>