// Fix profiles creation

This commit is contained in:
rMalie committed 2011-12-22 17:40:27 +00:00
1 parent c9729d5fa2
commit e32f0ed994
2 files changed
+4 -3

No files matched your search

+4 -1
View File
@@ -233,7 +233,10 @@ abstract class ObjectModelCore
public function getFields()
{
$this->validateFields();
return $this->formatFields();
$fields = $this->formatFields();
if (!$fields)
$fields[$this->def['primary']] = $this->id;
return $fields;
}
/**