ignore not set link cf's, eg. from sync clients

This commit is contained in:
Ralf Becker 2012-07-31 16:16:33 +00:00
parent 0ae0227c98
commit 7986d3cb14

View File

@ -318,6 +318,7 @@ abstract class bo_tracking
// unlink removed application entries // unlink removed application entries
foreach(array_diff($old_ids,$current_ids) as $name => $id) foreach(array_diff($old_ids,$current_ids) as $name => $id)
{ {
if (!isset($data[$name])) continue; // ignore not set link cf's, eg. from sync clients
if (!($app = $this->cf_link_fields[$name])) if (!($app = $this->cf_link_fields[$name]))
{ {
list($app,$id) = explode(':',$id); list($app,$id) = explode(':',$id);