From a9f60bcdacc8b3866a47a7da5fc5f23f030de779 Mon Sep 17 00:00:00 2001 From: fappels Date: Wed, 6 Jun 2018 22:04:12 +0200 Subject: [PATCH] fix travis --- htdocs/core/class/commonobject.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/core/class/commonobject.class.php b/htdocs/core/class/commonobject.class.php index 510248b7c2c..1ff1ed6b2d6 100644 --- a/htdocs/core/class/commonobject.class.php +++ b/htdocs/core/class/commonobject.class.php @@ -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 {