diff options
Diffstat (limited to 'inc')
-rwxr-xr-x | inc/poche/Database.class.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/poche/Database.class.php b/inc/poche/Database.class.php index 28d4a232..3b1f0af2 100755 --- a/inc/poche/Database.class.php +++ b/inc/poche/Database.class.php | |||
@@ -266,10 +266,10 @@ class Database { | |||
266 | { | 266 | { |
267 | $entries = $this->retrieveAll($userID); | 267 | $entries = $this->retrieveAll($userID); |
268 | if ($entries) { | 268 | if ($entries) { |
269 | foreach($entries as $entryid) { | 269 | foreach($entries as $entry) { |
270 | $tags = $this->retrieveTagsByEntry($entryid); | 270 | $tags = $this->retrieveTagsByEntry($entry['id']); |
271 | foreach($tags as $tag) { | 271 | foreach($tags as $tag) { |
272 | $this->removeTagForEntry($entryid,$tags); | 272 | $this->removeTagForEntry($entry['id'], $tags); |
273 | } | 273 | } |
274 | $this->deleteById($entryid,$userID); | 274 | $this->deleteById($entryid,$userID); |
275 | } | 275 | } |