diff options
author | Dries Buytaert <dries@buytaert.net> | 2007-01-31 15:49:26 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2007-01-31 15:49:26 +0000 |
commit | 05a708fb06137758cf7a15a623b4813af2fc005f (patch) | |
tree | 6ae6f50edbcb601329805cbbd7c22d11340327e3 /modules/aggregator | |
parent | 4c9fc80fc48608982a731b03655b02e5ccdb6b17 (diff) | |
download | brdo-05a708fb06137758cf7a15a623b4813af2fc005f.tar.gz brdo-05a708fb06137758cf7a15a623b4813af2fc005f.tar.bz2 |
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
Diffstat (limited to 'modules/aggregator')
-rw-r--r-- | modules/aggregator/aggregator.module | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module index 9f2712990..ca9b693fb 100644 --- a/modules/aggregator/aggregator.module +++ b/modules/aggregator/aggregator.module @@ -300,7 +300,9 @@ function aggregator_block($op = 'list', $delta = 0, $edit = array()) { $block['content'] = theme('item_list', $items) . $read_more; } } - return $block; + if (isset($block)) { + return $block; + } } } @@ -1102,7 +1104,9 @@ function _aggregator_page_list($sql, $op, $header = '') { } $output .= '</div>'; $output .= $form['pager']['#value']; - $output .= $form['feed_icon']['#value']; + if (isset($form['feed_icon']['#value'])) { + $output .= $form['feed_icon']['#value']; + } return $output; } } |