mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-01 14:49:15 +00:00
fixed bug for #1242
This commit is contained in:
parent
4a746679c8
commit
c129374147
1 changed files with 3 additions and 3 deletions
|
@ -266,10 +266,10 @@ class Database {
|
||||||
{
|
{
|
||||||
$entries = $this->retrieveAll($userID);
|
$entries = $this->retrieveAll($userID);
|
||||||
if ($entries) {
|
if ($entries) {
|
||||||
foreach($entries as $entryid) {
|
foreach($entries as $entry) {
|
||||||
$tags = $this->retrieveTagsByEntry($entryid);
|
$tags = $this->retrieveTagsByEntry($entry['id']);
|
||||||
foreach($tags as $tag) {
|
foreach($tags as $tag) {
|
||||||
$this->removeTagForEntry($entryid,$tags);
|
$this->removeTagForEntry($entry['id'], $tags);
|
||||||
}
|
}
|
||||||
$this->deleteById($entryid,$userID);
|
$this->deleteById($entryid,$userID);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue