Skip to content

Commit

Permalink
Support both tag and tag_id parameters properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Chuck Hagenbuch committed Sep 2, 2014
1 parent e1429b7 commit 3cf0055
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion jonah/delivery/rss.php
Expand Up @@ -24,7 +24,10 @@
'limit' => 10,
);
if ($tag_id = Horde_Util::getFormData('tag_id')) {
$criteria['tags'] = explode(':', $tag_id);
$criteria['tags'] = $driver->getTagNames(explode(':', $tag_id));
}
if ($tag = Horde_Util::getFormData('tag')) {
$criteria['tags'] = explode(':', $tag);
}
}

Expand Down

0 comments on commit 3cf0055

Please sign in to comment.