summaryrefslogtreecommitdiff
path: root/modules/legacy
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2005-02-12 09:23:06 +0000
committerDries Buytaert <dries@buytaert.net>2005-02-12 09:23:06 +0000
commit18bd62e71ec714ec33a3b3e3c1b19de8357a511f (patch)
tree5ca4bd82a6ca8f3e0cc3093b19f9980931ca576a /modules/legacy
parent5b7ecb86501b2713106243108d72eb36afd48b1f (diff)
downloadbrdo-18bd62e71ec714ec33a3b3e3c1b19de8357a511f.tar.gz
brdo-18bd62e71ec714ec33a3b3e3c1b19de8357a511f.tar.bz2
- Fixed bugs in RSS handling of blogs.
Diffstat (limited to 'modules/legacy')
-rw-r--r--modules/legacy/legacy.module5
1 files changed, 4 insertions, 1 deletions
diff --git a/modules/legacy/legacy.module b/modules/legacy/legacy.module
index 882298fa4..3fe53da3a 100644
--- a/modules/legacy/legacy.module
+++ b/modules/legacy/legacy.module
@@ -88,10 +88,13 @@ function legacy_taxonomy_feed($operation = 'or', $str_tids = '') {
*/
function legacy_blog_feed($str_uid = '') {
// if URL is of form blog/feed/52 redirect
- // if URL is of form blog/feed no need to redirect
+ // if URL is of form blog/feed we have to call blog_feed_last().
if (is_numeric($str_uid)) {
drupal_goto('blog/'. $str_uid .'/feed');
}
+ else {
+ module_invoke('blog', 'feed_last');
+ }
}
/**