fixed missing return

This commit is contained in:
Ralf Becker 2004-03-13 17:34:26 +00:00
parent 09d4c8aa75
commit e6c351b7d4

View File

@ -448,7 +448,7 @@
{ {
if (!$fields['id'] && !$fields['ab_id']) if (!$fields['id'] && !$fields['ab_id'])
{ {
$this->add_entry($fields); return $this->add_entry($fields);
} }
$ok = False; $ok = False;
if($this->check_perms($fields,PHPGW_ACL_EDIT)) if($this->check_perms($fields,PHPGW_ACL_EDIT))