Merge pull request #918 from Lucas-C/master
Adding missing empty() as spotted in #889 code review
This commit is contained in:
commit
154682d9a2
1 changed files with 1 additions and 1 deletions
|
@ -1021,7 +1021,7 @@ function renderPage($conf, $pluginManager, $LINKSDB, $history)
|
|||
|
||||
// -------- User wants to see only untagged links (toggle)
|
||||
if (isset($_GET['untaggedonly'])) {
|
||||
$_SESSION['untaggedonly'] = !$_SESSION['untaggedonly'];
|
||||
$_SESSION['untaggedonly'] = !empty($_SESSION['untaggedonly']);
|
||||
|
||||
if (! empty($_SERVER['HTTP_REFERER'])) {
|
||||
$location = generateLocation($_SERVER['HTTP_REFERER'], $_SERVER['HTTP_HOST'], array('untaggedonly'));
|
||||
|
|
Loading…
Reference in a new issue