Fix travis errors
This commit is contained in:
parent
bf0345da42
commit
ff6f5eea6f
@ -89,7 +89,7 @@ class Members extends DolibarrApi
|
||||
*
|
||||
* @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;
|
||||
|
||||
$obj_ret = array();
|
||||
|
||||
@ -198,7 +198,7 @@ class DolibarrApi
|
||||
* @param array $matches Array of found string by regex search
|
||||
* @return string Forged criteria. Example: "t.field like 'abc%'"
|
||||
*/
|
||||
protected static function _forge_criteria_callback($matches)
|
||||
static function _forge_criteria_callback($matches)
|
||||
{
|
||||
global $db;
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user