summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--services/bookmarkservice.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/bookmarkservice.php b/services/bookmarkservice.php
index 1719b80..f41df53 100644
--- a/services/bookmarkservice.php
+++ b/services/bookmarkservice.php
@@ -109,7 +109,7 @@ class BookmarkService {
$userid = $userservice->getCurrentUserId();
if(!is_numeric($userid))
return false; // useful for few servers configuration (see brunaud bugs)
- if ($GLOBALS['adminsCanModifyBookmarksFromOtherUsers'] && $userservice->isAdmin($userid))
+ if ($GLOBALS['adminsCanModifyBookmarksFromOtherUsers'] && $userservice->isAdmin($userid) && !$userservice->isAdmin($bookmark['uId']))
return true;
else
return ($bookmark['uId'] == $userid);