forked from Wavyzz/dolibarr
fix travis
This commit is contained in:
@@ -1458,9 +1458,9 @@ abstract class CommonObject
|
||||
if ($trigkey)
|
||||
{
|
||||
// call trigger with updated object values
|
||||
if (empty($this->get_field_list()) && method_exists($this, 'fetch'))
|
||||
if (empty($this->fields) && method_exists($this, 'fetch'))
|
||||
{
|
||||
$result = $this->fetch($id);
|
||||
$result = $this->fetch($id);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user