fix #101
This commit is contained in:
parent
9fc83d3b8f
commit
a2e1eb8dd6
@ -201,7 +201,7 @@ trait Costs
|
||||
*/
|
||||
public function costsDeleteById($id)
|
||||
{
|
||||
if (!empty($id)) {
|
||||
if (empty($id)) {
|
||||
throw new \InvalidArgumentException(
|
||||
'Parameter `id` must contains a data'
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user