Commit b18f76ec authored by Dries's avatar Dries
Browse files

- Patch #60849 by Zen: fixed typo in aggregator.

parent d761ded1
......@@ -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;
......
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment