summaryrefslogtreecommitdiff
path: root/services/bookmarkservice.php
diff options
context:
space:
mode:
authormensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-17 09:36:20 +0000
committermensonge <mensonge@b3834d28-1941-0410-a4f8-b48e95affb8f>2009-02-17 09:36:20 +0000
commit760dd70519ade43df447196bc29063fe118908b4 (patch)
tree755b63db378f3b63cfb77cdb8284199d0637d594 /services/bookmarkservice.php
parent715ddba1dcc1454000180bd2d30e553b3f036d0a (diff)
downloadsemanticscuttle-760dd70519ade43df447196bc29063fe118908b4.tar.gz
semanticscuttle-760dd70519ade43df447196bc29063fe118908b4.tar.bz2
Bug fix: correct popup behaviour.
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@284 b3834d28-1941-0410-a4f8-b48e95affb8f
Diffstat (limited to 'services/bookmarkservice.php')
-rw-r--r--services/bookmarkservice.php4
1 files changed, 3 insertions, 1 deletions
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');