Log an object's UID with libkolabxml warnings

This commit is contained in:
Thomas Bruederli 2014-02-19 18:56:59 +01:00
parent 351f7d6153
commit e203211ece

View file

@ -242,7 +242,8 @@ abstract class kolab_format
break;
case kolabformat::Warning:
$ret = false;
$log = "Warning";
$uid = is_object($this->obj) ? $this->obj->uid() : $this->data['uid'];
$log = "Warning @ $uid";
break;
default:
$ret = true;