]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
fix bug #186: content was empty when enabling downloading pictures
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Mon, 26 Aug 2013 15:38:01 +0000 (17:38 +0200)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Mon, 26 Aug 2013 15:38:01 +0000 (17:38 +0200)
inc/poche/Poche.class.php

index 646193f7716fbd666344fbd7223a7cb65fe27f05..bca8bfd5a4b7e6e4b3aefc4967e44b3c8df54f5c 100644 (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());
                     }