From 56d2664a904119f73e7df4fb355e4c525e040b70 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 14 Apr 2008 17:48:46 +0000 Subject: - Patch #245115 by kkaefer, John Morahan, JohnAlbin et al: after a long discussion we've decided to make the concatenation operator consistent with the other operators. --- modules/blog/blog.pages.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/blog/blog.pages.inc') diff --git a/modules/blog/blog.pages.inc b/modules/blog/blog.pages.inc index 8548ede62..caa47a207 100644 --- a/modules/blog/blog.pages.inc +++ b/modules/blog/blog.pages.inc @@ -44,7 +44,7 @@ function blog_page_user($account) { drupal_set_message(t('!author has not created any blog entries.', array('!author' => theme('username', $account)))); } } - drupal_add_feed(url('blog/'. $account->uid .'/feed'), t('RSS - !title', array('!title' => $title))); + drupal_add_feed(url('blog/' . $account->uid . '/feed'), t('RSS - !title', array('!title' => $title))); return $output; } @@ -88,8 +88,8 @@ function blog_page_last() { */ function blog_feed_user($account) { $result = db_query_range(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = 'blog' AND n.uid = %d AND n.status = 1 ORDER BY n.created DESC"), $account->uid, 0, variable_get('feed_default_items', 10)); - $channel['title'] = $account->name ."'s blog"; - $channel['link'] = url('blog/'. $account->uid, array('absolute' => TRUE)); + $channel['title'] = $account->name . "'s blog"; + $channel['link'] = url('blog/' . $account->uid, array('absolute' => TRUE)); $items = array(); while ($row = db_fetch_object($result)) { @@ -103,7 +103,7 @@ function blog_feed_user($account) { */ function blog_feed_last() { $result = db_query_range(db_rewrite_sql("SELECT n.nid, n.created FROM {node} n WHERE n.type = 'blog' AND n.status = 1 ORDER BY n.created DESC"), 0, variable_get('feed_default_items', 10)); - $channel['title'] = variable_get('site_name', 'Drupal') .' blogs'; + $channel['title'] = variable_get('site_name', 'Drupal') . ' blogs'; $channel['link'] = url('blog', array('absolute' => TRUE)); $items = array(); -- cgit v1.2.3