diff options
| author | 2024-06-10 21:09:15 -0700 | |
|---|---|---|
| committer | 2024-06-10 21:09:15 -0700 | |
| commit | b5ac1fa2a33ae046fa785d9938dcd0d5274b7ce1 (patch) | |
| tree | 6397c4fbcd147c7715f231f336107f8e13802cec /data/templates/minimal/bookmarks.tpl.php | |
| parent | 53b174a3236d89e1528ea663584f6bbca3c24c53 (diff) | |
| download | scuttle-b5ac1fa2a33ae046fa785d9938dcd0d5274b7ce1.tar.gz scuttle-b5ac1fa2a33ae046fa785d9938dcd0d5274b7ce1.zip | |
Make sure to check users for being false
Diffstat (limited to 'data/templates/minimal/bookmarks.tpl.php')
| -rw-r--r-- | data/templates/minimal/bookmarks.tpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/minimal/bookmarks.tpl.php b/data/templates/minimal/bookmarks.tpl.php index 1510d44..86749bc 100644 --- a/data/templates/minimal/bookmarks.tpl.php +++ b/data/templates/minimal/bookmarks.tpl.php @@ -87,7 +87,7 @@ if ($userservice->isLoggedOn()) { /* personal tag description */ if($currenttag!= '' && $user!='') { $userObject = $userservice->getUserByUsername($user); - if($tagservice->getDescription($currenttag, $userObject['uId'])) { ?> + if($userObject && $tagservice->getDescription($currenttag, $userObject['uId'])) { ?> <p class="commondescription"><?php $pDescription = $tagservice->getDescription($currenttag, $userObject['uId']); |