diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-09 23:30:20 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-08-09 23:30:20 +0200 |
commit | b58e261db9f3ea8b9c4c51ef9f0e393942915e21 (patch) | |
tree | c648457b09fdbee704fd7f870302faad8bc7ea08 /inc/poche/Poche.class.php | |
parent | d8d1542e52e78b481305893a873f613dc60293e1 (diff) | |
download | wallabag-b58e261db9f3ea8b9c4c51ef9f0e393942915e21.tar.gz wallabag-b58e261db9f3ea8b9c4c51ef9f0e393942915e21.tar.zst wallabag-b58e261db9f3ea8b9c4c51ef9f0e393942915e21.zip |
bug in downloading pictures : article content wasn't updated anymore
Diffstat (limited to 'inc/poche/Poche.class.php')
-rw-r--r-- | inc/poche/Poche.class.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php index 90bea1fe..2af49acd 100644 --- a/inc/poche/Poche.class.php +++ b/inc/poche/Poche.class.php | |||
@@ -126,6 +126,8 @@ class Poche | |||
126 | $last_id = $this->store->getLastId($sequence); | 126 | $last_id = $this->store->getLastId($sequence); |
127 | if (DOWNLOAD_PICTURES) { | 127 | if (DOWNLOAD_PICTURES) { |
128 | $content = filtre_picture($parametres_url['content'], $url->getUrl(), $last_id); | 128 | $content = filtre_picture($parametres_url['content'], $url->getUrl(), $last_id); |
129 | Tools::logm('updating content article'); | ||
130 | $this->store->updateContent($last_id, $content, $this->user->getId()); | ||
129 | } | 131 | } |
130 | if (!$import) { | 132 | if (!$import) { |
131 | $this->messages->add('s', _('the link has been added successfully')); | 133 | $this->messages->add('s', _('the link has been added successfully')); |