"Patch for changing a empty org field, when changing all fields for all members of organisations"

This commit is contained in:
Stefan Becker 2008-06-12 14:28:25 +00:00
parent fa140e80ee
commit 968be31df1

View File

@ -747,7 +747,7 @@ class addressbook_bo extends addressbook_so
$changed = array(); $changed = array();
foreach($only_org_fields ? $this->org_fields : array_keys($this->contact_fields) as $name) foreach($only_org_fields ? $this->org_fields : array_keys($this->contact_fields) as $name)
{ {
if (!isset($from[$name]) || in_array($name,array('modified','modifier'))) // never count these if (in_array($name,array('modified','modifier'))) // never count these
{ {
continue; continue;
} }