Fixing style errors.
This commit is contained in:
parent
fa3c63ea28
commit
cc6d8f159b
1 changed files with 1 additions and 1 deletions
|
|
@ -90,7 +90,7 @@ class Categories extends DolibarrApi
|
|||
if ( ! DolibarrApi::_checkAccessToResource('categorie', $this->category->id)) {
|
||||
throw new RestException(401, 'Access not allowed for login '.DolibarrApiAccess::$user->login);
|
||||
}
|
||||
|
||||
|
||||
if ($include_childs) {
|
||||
$cats = $this->category->get_filles();
|
||||
if (!is_array($cats)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue