// Fix profiles creation
This commit is contained in:
1 parent
328c8460ec
commit
abb2de5d12
2 files changed
+4
-3
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in new issue
Block a user