FIX uses object fetch method in setValueFrom if method exists
This commit is contained in:
parent
946c79ced0
commit
9422a4bd1d
@ -2072,7 +2072,7 @@ abstract class CommonObject
|
||||
if ($resql) {
|
||||
if ($trigkey) {
|
||||
// call trigger with updated object values
|
||||
if (empty($this->fields) && method_exists($this, 'fetch')) {
|
||||
if (method_exists($this, 'fetch')) {
|
||||
$result = $this->fetch($id);
|
||||
} else {
|
||||
$result = $this->fetchCommon($id);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user