Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
427364a5
Commit
427364a5
authored
Dec 08, 2003
by
Dries
Browse files
- Fixed visual glitch in "Who's online" block. Patch by Jeremy.
parent
8a3e9224
Changes
2
Hide whitespace changes
Inline
Side-by-side
modules/user.module
View file @
427364a5
...
...
@@ -412,11 +412,10 @@ function user_block($op = "list", $delta = 0) {
$items
[]
=
format_name
(
user_load
(
array
(
"uid"
=>
$uid
->
uid
)));
}
if
(
db_fetch_object
(
$users
))
{
$items
[]
=
"..."
;
}
if
(
$items
)
{
if
(
db_fetch_object
(
$users
))
{
$items
[]
=
"..."
;
}
$output
.
=
theme
(
"item_list"
,
$items
,
t
(
"Online users:"
));
}
}
...
...
modules/user/user.module
View file @
427364a5
...
...
@@ -412,11 +412,10 @@ function user_block($op = "list", $delta = 0) {
$items
[]
=
format_name
(
user_load
(
array
(
"uid"
=>
$uid
->
uid
)));
}
if
(
db_fetch_object
(
$users
))
{
$items
[]
=
"..."
;
}
if
(
$items
)
{
if
(
db_fetch_object
(
$users
))
{
$items
[]
=
"..."
;
}
$output
.
=
theme
(
"item_list"
,
$items
,
t
(
"Online users:"
));
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment