Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
ae7e03a2
Commit
ae7e03a2
authored
Sep 18, 2001
by
Dries Buytaert
Browse files
- small bugfix
parent
ca85a56f
Changes
1
Hide whitespace changes
Inline
Side-by-side
includes/common.inc
View file @
ae7e03a2
...
...
@@ -225,13 +225,10 @@ function format_name($object) {
if
(
$object
->
uid
&&
$object
->
name
)
{
return
"<a href=
\"
module.php?mod=user&op=view&id=
$object->uid
\"
>
$object->name
</a>"
;
}
else
if
(
!
is_object
(
$object
))
{
watchdog
(
"error"
,
"format_name(): missing name (
$object->name
) or uid (
$object->uid
)"
);
return
"<font color=
\"
red
\"
>FIX ME</font>"
;
}
else
{
return
variable_get
(
anonymous
,
"Anonymous"
);
}
}
function
format_email
(
$address
)
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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