summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-12-14 10:40:51 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-12-14 10:40:51 +0000
commit20e652246fffed982a6637dd3f6d8507373e2e0d (patch)
tree0bc67515966d3a3f18a0b9c6fb24c5fdcbc1d5e3
parent723c4900895983b267bb41d8155f8f88ef9de889 (diff)
downloadbrdo-20e652246fffed982a6637dd3f6d8507373e2e0d.tar.gz
brdo-20e652246fffed982a6637dd3f6d8507373e2e0d.tar.bz2
#199822 by Nick Lewis: items array was not initialized in blog_feed_last()
-rw-r--r--modules/blog/blog.pages.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc
index e9dcdb765..26f13ea90 100644
--- a/modules/blog/blog.pages.inc
+++ b/modules/blog/blog.pages.inc
@@ -77,6 +77,7 @@ function blog_feed_last() {
$channel['title'] = variable_get('site_name', 'Drupal') .' blogs';
$channel['link'] = url('blog', array('absolute' => TRUE));
+ $items = array();
while ($row = db_fetch_object($result)) {
$items[] = $row->nid;
}