fix for bug #24: Contact widget displays contact_id if contact not found

This commit is contained in:
Ralf Becker 2006-10-19 18:19:11 +00:00
parent 0b261f355b
commit 9ab93a73a2

View File

@ -94,6 +94,7 @@ class contact_widget
!($this->contact = $this->contacts->read($value)))
{
$cell = $tmpl->empty_cell();
$value = '';
break;
}
$value = $this->contact[$cell['size']];