- Patch #539320 by Zarabadoo, Jacine, stephthegeek: added missing paragraph tag.
parent
b79d41036e
commit
6980775436
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue