]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
[add] send tags to article view
authorNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Fri, 6 Dec 2013 12:02:38 +0000 (13:02 +0100)
committerNicolas Lœuillet <nicolas.loeuillet@gmail.com>
Fri, 6 Dec 2013 12:02:38 +0000 (13:02 +0100)
inc/poche/Poche.class.php

index d45d0c406b60ba6da378de12595a76e61637f8d7..c9fb6382f728d739999a1b856674c5dbe2db020b 100644 (file)
@@ -443,12 +443,16 @@ class Poche
 
                     # flattr checking
                     $flattr = new FlattrItem();
-                    $flattr->checkItem($entry['url'],$entry['id']);
+                    $flattr->checkItem($entry['url'], $entry['id']);
+
+                    # tags
+                    $tags = $this->store->retrieveTagsByEntry($entry['id']);
 
                     $tpl_vars = array(
-                    'entry' => $entry,
-                    'content' => $content,
-                    'flattr' => $flattr
+                        'entry' => $entry,
+                        'content' => $content,
+                        'flattr' => $flattr,
+                        'tags' => $tags
                     );
                 }
                 else {