Updated Lint Issies
This commit is contained in:
parent
b3f078a687
commit
c2a81341ad
@ -245,8 +245,7 @@ class Categories extends DolibarrApi
|
|||||||
if ($this->category->update(DolibarrApiAccess::$user) > 0)
|
if ($this->category->update(DolibarrApiAccess::$user) > 0)
|
||||||
{
|
{
|
||||||
return $this->get($id);
|
return $this->get($id);
|
||||||
}
|
} else
|
||||||
else
|
|
||||||
{
|
{
|
||||||
throw new RestException(500, $this->category->error);
|
throw new RestException(500, $this->category->error);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user