1
0
mirror of https://github.com/owncloud/bookmarks.git synced 2025-01-18 14:52:10 +01:00

Correct Bookmark Edit, fix #31, thanks @flattman

This commit is contained in:
Brice Maron 2013-07-28 15:19:46 +02:00
parent e7c8080805
commit bed6a88d1e

View File

@ -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