Update api_setup.class.php
This commit is contained in:
parent
56b6223bba
commit
e5cb9bc22e
@ -442,7 +442,7 @@ class Setup extends DolibarrApi
|
|||||||
$list[] = $this->db->fetch_object($result);
|
$list[] = $this->db->fetch_object($result);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
throw new RestException(503, 'Error when retrieving list of events types : '.$this->db->lasterror());
|
throw new RestException(503, 'Error when retrieving list of contacts types : '.$this->db->lasterror());
|
||||||
}
|
}
|
||||||
|
|
||||||
return $list;
|
return $list;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user