From 10662e24e065ca458e3f5a942a52f00475c925c7 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 3 Aug 2017 03:58:42 +0200 Subject: [PATCH] Fix travis --- htdocs/modulebuilder/template/class/myobject.class.php | 4 ++-- htdocs/websites/class/website.class.php | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/htdocs/modulebuilder/template/class/myobject.class.php b/htdocs/modulebuilder/template/class/myobject.class.php index 6d35404140d..9fc1cc053e2 100644 --- a/htdocs/modulebuilder/template/class/myobject.class.php +++ b/htdocs/modulebuilder/template/class/myobject.class.php @@ -201,7 +201,7 @@ class MyObject extends CommonObject public function fetch($id, $ref = null) { $result = $this->fetchCommon($id, $ref); - if ($result > 0 && ! empty($this->table_element_line)) $this->fetch_lines(); + if ($result > 0 && ! empty($this->table_element_line)) $this->fetchLines(); return $result; } @@ -212,7 +212,7 @@ class MyObject extends CommonObject * @param string $ref Ref * @return int <0 if KO, 0 if not found, >0 if OK */ - public function fetch_lines($id, $ref = null) + public function fetchLines($id, $ref = null) { $this->lines=array(); diff --git a/htdocs/websites/class/website.class.php b/htdocs/websites/class/website.class.php index ead23c2891b..fd808139923 100644 --- a/htdocs/websites/class/website.class.php +++ b/htdocs/websites/class/website.class.php @@ -235,7 +235,7 @@ class Website extends CommonObject if ($numrows > 0) { // Lines - $this->fetch_lines(); + $this->fetchLines(); { return -3; } @@ -259,7 +259,7 @@ class Website extends CommonObject * * @return int <0 if KO, 0 if not found, >0 if OK */ - public function fetch_lines() + public function fetchLines() { $this->lines=array();