projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b08d2c
)
Don't pass bogus tag arrays
author
Chuck Hagenbuch
<chuck@horde.org>
Tue, 2 Nov 2010 15:25:32 +0000
(11:25 -0400)
committer
Chuck Hagenbuch
<chuck@horde.org>
Tue, 2 Nov 2010 15:25:32 +0000
(11:25 -0400)
jonah/delivery/rss.php
patch
|
blob
|
history
diff --git
a/jonah/delivery/rss.php
b/jonah/delivery/rss.php
index
048f1fd
..
d72a3a8
100644
(file)
--- a/
jonah/delivery/rss.php
+++ b/
jonah/delivery/rss.php
@@
-20,10
+20,12
@@
$criteria = Horde_Util::nonInputVar('criteria');
if (!$criteria) {
$criteria = array(
'channel_id' => Horde_Util::getFormData('channel_id'),
- 'tags' => array(Horde_Util::getFormData('tag_id')),
'feed_type' => basename(Horde_Util::getFormData('type')),
'limit' => 10,
);
+ if ($tag_id = Horde_Util::getFormData('tag_id')) {
+ $criteria['tags'] = array($tag_id);
+ }
}
// Default to RSS2