diff --git a/lib/bookmarks.php b/lib/bookmarks.php index 50b20d72..92d738c2 100644 --- a/lib/bookmarks.php +++ b/lib/bookmarks.php @@ -295,7 +295,7 @@ class OC_Bookmarks_Bookmarks{ // Abort the operation if bookmark couldn't be set // (probably because the user is not allowed to edit this bookmark) - if ($result->numRows() == 0) exit(); + if ($result == 0) exit(); // Remove old tags