Fix travis

This commit is contained in:
Laurent Destailleur 2017-08-03 03:58:42 +02:00
parent 81b11100b0
commit 10662e24e0
2 changed files with 4 additions and 4 deletions

View File

@ -201,7 +201,7 @@ class MyObject extends CommonObject
public function fetch($id, $ref = null) public function fetch($id, $ref = null)
{ {
$result = $this->fetchCommon($id, $ref); $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; return $result;
} }
@ -212,7 +212,7 @@ class MyObject extends CommonObject
* @param string $ref Ref * @param string $ref Ref
* @return int <0 if KO, 0 if not found, >0 if OK * @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(); $this->lines=array();

View File

@ -235,7 +235,7 @@ class Website extends CommonObject
if ($numrows > 0) { if ($numrows > 0) {
// Lines // Lines
$this->fetch_lines(); $this->fetchLines();
{ {
return -3; return -3;
} }
@ -259,7 +259,7 @@ class Website extends CommonObject
* *
* @return int <0 if KO, 0 if not found, >0 if OK * @return int <0 if KO, 0 if not found, >0 if OK
*/ */
public function fetch_lines() public function fetchLines()
{ {
$this->lines=array(); $this->lines=array();