2
0
forked from Wavyzz/dolibarr

fix travis

This commit is contained in:
fappels
2018-06-06 22:04:12 +02:00
parent 141d19571c
commit a9f60bcdac

View File

@@ -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
{