From c6e7b090efbd8a19e3f64a7c89fdc4ae77b515aa Mon Sep 17 00:00:00 2001 From: Brice Maron Date: Sun, 28 Jul 2013 15:19:46 +0200 Subject: [PATCH] Correct Bookmark Edit, fix #31, thanks @flattman --- lib/bookmarks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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