diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-09-18 20:18:21 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-09-18 20:18:21 +0000 |
commit | ae7e03a24b0dec16e95c0c081d7b45650ce9a46e (patch) | |
tree | c7a574b1526252e5914bbb2308b29555821f4efa /includes/common.inc | |
parent | ca85a56f1b4db802a72b4def5b20ba9dafb5e0e2 (diff) | |
download | brdo-ae7e03a24b0dec16e95c0c081d7b45650ce9a46e.tar.gz brdo-ae7e03a24b0dec16e95c0c081d7b45650ce9a46e.tar.bz2 |
- small bugfix
Diffstat (limited to 'includes/common.inc')
-rw-r--r-- | includes/common.inc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/includes/common.inc b/includes/common.inc index 7c7ea370e..f06206610 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -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) { |