summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-03-02 09:12:31 +0000
committerDries Buytaert <dries@buytaert.net>2010-03-02 09:12:31 +0000
commit6980775436323c7b973b588b5f3e86adcf1e5067 (patch)
tree9d57482b11abcb83fbb5ddb5fe3d89155b639c65
parentb79d41036efa65c5de10b481c9320df17a70f6c6 (diff)
downloadbrdo-6980775436323c7b973b588b5f3e86adcf1e5067.tar.gz
brdo-6980775436323c7b973b588b5f3e86adcf1e5067.tar.bz2
- Patch #539320 by Zarabadoo, Jacine, stephthegeek: added missing paragraph tag.
-rw-r--r--modules/user/user.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/user/user.module b/modules/user/user.module
index bd9b44fdc..cff023dfa 100644
--- a/modules/user/user.module
+++ b/modules/user/user.module
@@ -1307,7 +1307,7 @@ function user_block_view($delta = '') {
// rather than u.access because it is much faster.
$authenticated_count = db_query("SELECT COUNT(DISTINCT s.uid) FROM {sessions} s WHERE s.timestamp >= :timestamp AND s.uid > 0", array(':timestamp' => $interval))->fetchField();
- $output = format_plural($authenticated_count, 'There is currently 1 user online.', 'There are currently @count users online.');
+ $output = '<p>' . format_plural($authenticated_count, 'There is currently 1 user online.', 'There are currently @count users online.') . '</p>';
// Display a list of currently online users.
$max_users = variable_get('user_block_max_list_count', 10);