diff --git a/core/model/DataObject.php b/core/model/DataObject.php index c41611841..5d3a9add4 100644 --- a/core/model/DataObject.php +++ b/core/model/DataObject.php @@ -93,7 +93,7 @@ class DataObject extends Controller implements DataObjectInterface { parent::__construct(); // Must be called after parent constructor - if(!$isSingleton && !$this->record['ID']) { + if(!$isSingleton && !isset($this->record['ID'])) { $this->populateDefaults(); }