From ae7e03a24b0dec16e95c0c081d7b45650ce9a46e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 18 Sep 2001 20:18:21 +0000 Subject: - small bugfix --- includes/common.inc | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'includes/common.inc') 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 "uid\">$object->name"; } - else if (!is_object($object)) { - watchdog("error", "format_name(): missing name ($object->name) or uid ($object->uid)"); - return "FIX ME"; - } else { return variable_get(anonymous, "Anonymous"); } + } function format_email($address) { -- cgit v1.2.3