Commit 69807754 authored by Dries's avatar Dries
Browse files

- Patch #539320 by Zarabadoo, Jacine, stephthegeek: added missing paragraph tag.

parent b79d4103
......@@ -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);
......
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