summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-05-02 13:28:04 +0000
committerDries Buytaert <dries@buytaert.net>2006-05-02 13:28:04 +0000
commitb18f76ec42adcc854781a1098cabccdb457e131f (patch)
treeb8684b0a9f2a1d465f1a05bb3ae928efd154f5be
parentd761ded1f2fe86841f2163ede2d45c00c2839ea7 (diff)
downloadbrdo-b18f76ec42adcc854781a1098cabccdb457e131f.tar.gz
brdo-b18f76ec42adcc854781a1098cabccdb457e131f.tar.bz2
- Patch #60849 by Zen: fixed typo in aggregator.
-rw-r--r--modules/aggregator.module6
-rw-r--r--modules/aggregator/aggregator.module6
2 files changed, 6 insertions, 6 deletions
diff --git a/modules/aggregator.module b/modules/aggregator.module
index 772cffde8..906f6b952 100644
--- a/modules/aggregator.module
+++ b/modules/aggregator.module
@@ -75,7 +75,7 @@ function aggregator_menu($may_cache) {
'title' => t('list'),
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10);
-
+
$items[] = array('path' => 'aggregator',
'title' => t('news aggregator'),
'callback' => 'aggregator_page_last',
@@ -100,7 +100,7 @@ function aggregator_menu($may_cache) {
'callback' => 'aggregator_page_opml',
'access' => $view,
'type' => MENU_CALLBACK);
-
+
$result = db_query('SELECT title, cid FROM {aggregator_category} ORDER BY title');
while ($category = db_fetch_array($result)) {
$items[] = array('path' => 'aggregator/categories/'. $category['cid'],
@@ -1177,7 +1177,7 @@ function aggregator_page_rss() {
switch (variable_get('feed_item_length', 'teaser')) {
case 'teaser':
$teaser = node_teaser($item->description);
- if ($teaser != $item_description) {
+ if ($teaser != $item->description) {
$teaser .= '<p><a href="'. check_url($item->link) .'">'. t('read more') ."</a></p>\n";
}
$item->description = $teaser;
diff --git a/modules/aggregator/aggregator.module b/modules/aggregator/aggregator.module
index 772cffde8..906f6b952 100644
--- a/modules/aggregator/aggregator.module
+++ b/modules/aggregator/aggregator.module
@@ -75,7 +75,7 @@ function aggregator_menu($may_cache) {
'title' => t('list'),
'type' => MENU_DEFAULT_LOCAL_TASK,
'weight' => -10);
-
+
$items[] = array('path' => 'aggregator',
'title' => t('news aggregator'),
'callback' => 'aggregator_page_last',
@@ -100,7 +100,7 @@ function aggregator_menu($may_cache) {
'callback' => 'aggregator_page_opml',
'access' => $view,
'type' => MENU_CALLBACK);
-
+
$result = db_query('SELECT title, cid FROM {aggregator_category} ORDER BY title');
while ($category = db_fetch_array($result)) {
$items[] = array('path' => 'aggregator/categories/'. $category['cid'],
@@ -1177,7 +1177,7 @@ function aggregator_page_rss() {
switch (variable_get('feed_item_length', 'teaser')) {
case 'teaser':
$teaser = node_teaser($item->description);
- if ($teaser != $item_description) {
+ if ($teaser != $item->description) {
$teaser .= '<p><a href="'. check_url($item->link) .'">'. t('read more') ."</a></p>\n";
}
$item->description = $teaser;