Fix travis errors

This commit is contained in:
Laurent Destailleur 2016-10-26 10:47:47 +02:00
parent bf0345da42
commit ff6f5eea6f
2 changed files with 2 additions and 2 deletions

View File

@ -89,7 +89,7 @@ class Members extends DolibarrApi
* *
* @throws RestException * @throws RestException
*/ */
function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 0, $page = 0, $typeid = '', $login = '', $name = '', $sqlfilters = '') { function index($sortfield = "t.rowid", $sortorder = 'ASC', $limit = 0, $page = 0, $typeid = '', $sqlfilters = '') {
global $db, $conf; global $db, $conf;
$obj_ret = array(); $obj_ret = array();

View File

@ -198,7 +198,7 @@ class DolibarrApi
* @param array $matches Array of found string by regex search * @param array $matches Array of found string by regex search
* @return string Forged criteria. Example: "t.field like 'abc%'" * @return string Forged criteria. Example: "t.field like 'abc%'"
*/ */
protected static function _forge_criteria_callback($matches) static function _forge_criteria_callback($matches)
{ {
global $db; global $db;