diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-26 17:38:01 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-26 17:38:01 +0200 |
commit | 6fb46003340dc96c3a9fa876949c39eb25f14773 (patch) | |
tree | 1b8dd8f69c96c689d3e1eba9dc7b37ca3a4000ff /inc | |
parent | b6b36e1b5a37cfddc025efdbd816acbde70eafb6 (diff) | |
download | wallabag-6fb46003340dc96c3a9fa876949c39eb25f14773.tar.gz wallabag-6fb46003340dc96c3a9fa876949c39eb25f14773.tar.zst wallabag-6fb46003340dc96c3a9fa876949c39eb25f14773.zip |
fix bug #186: content was empty when enabling downloading pictures
Diffstat (limited to 'inc')
-rw-r--r-- | inc/poche/Poche.class.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 646193f7..bca8bfd5 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -166,7 +166,7 @@ class Poche | |||
166 | } | 166 | } |
167 | $last_id = $this->store->getLastId($sequence); | 167 | $last_id = $this->store->getLastId($sequence); |
168 | if (DOWNLOAD_PICTURES) { | 168 | if (DOWNLOAD_PICTURES) { |
169 | $content = filtre_picture($parametres_url['body'], $url->getUrl(), $last_id); | 169 | $content = filtre_picture($content['body'], $url->getUrl(), $last_id); |
170 | Tools::logm('updating content article'); | 170 | Tools::logm('updating content article'); |
171 | $this->store->updateContent($last_id, $content, $this->user->getId()); | 171 | $this->store->updateContent($last_id, $content, $this->user->getId()); |
172 | } | 172 | } |