From 9ab93a73a2729d25d200c3ee3d925a0943bbb7c3 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 19 Oct 2006 18:19:11 +0000 Subject: [PATCH] fix for bug #24: Contact widget displays contact_id if contact not found --- etemplate/inc/class.contact_widget.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/etemplate/inc/class.contact_widget.inc.php b/etemplate/inc/class.contact_widget.inc.php index 1aa43d5704..4f2c58e0ab 100644 --- a/etemplate/inc/class.contact_widget.inc.php +++ b/etemplate/inc/class.contact_widget.inc.php @@ -94,6 +94,7 @@ class contact_widget !($this->contact = $this->contacts->read($value))) { $cell = $tmpl->empty_cell(); + $value = ''; break; } $value = $this->contact[$cell['size']];