From 760dd70519ade43df447196bc29063fe118908b4 Mon Sep 17 00:00:00 2001 From: mensonge Date: Tue, 17 Feb 2009 09:36:20 +0000 Subject: Bug fix: correct popup behaviour. git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@284 b3834d28-1941-0410-a4f8-b48e95affb8f --- services/bookmarkservice.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'services/bookmarkservice.php') diff --git a/services/bookmarkservice.php b/services/bookmarkservice.php index dcce54b..22044f2 100644 --- a/services/bookmarkservice.php +++ b/services/bookmarkservice.php @@ -436,8 +436,10 @@ class BookmarkService { message_die(GENERAL_ERROR, 'Could not delete bookmarks', '', __LINE__, __FILE__, $query, $this->db); return false; } + + - $query = 'DELETE FROM '. $GLOBALS['tableprefix'] .'tags WHERE bId = '. intval($bookmarkid); + $query = 'DELETE FROM '. $GLOBALS['tableprefix'] .'bookmarks2tags WHERE bId = '. intval($bookmarkid); $this->db->sql_transaction('begin'); if (!($dbresult = & $this->db->sql_query($query))) { $this->db->sql_transaction('rollback'); -- cgit v1.2.3