1
0
mirror of https://github.com/moparisthebest/wallabag synced 2024-11-23 17:42:15 -05:00

fix bug #186: content was empty when enabling downloading pictures

This commit is contained in:
Nicolas Lœuillet 2013-08-26 17:38:01 +02:00
parent b6b36e1b5a
commit 6fb4600334

View File

@ -166,7 +166,7 @@ class Poche
} }
$last_id = $this->store->getLastId($sequence); $last_id = $this->store->getLastId($sequence);
if (DOWNLOAD_PICTURES) { if (DOWNLOAD_PICTURES) {
$content = filtre_picture($parametres_url['body'], $url->getUrl(), $last_id); $content = filtre_picture($content['body'], $url->getUrl(), $last_id);
Tools::logm('updating content article'); Tools::logm('updating content article');
$this->store->updateContent($last_id, $content, $this->user->getId()); $this->store->updateContent($last_id, $content, $this->user->getId());
} }