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);
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');
$this->store->updateContent($last_id, $content, $this->user->getId());
}