mirror of
https://github.com/Karaka-Management/oms-EquipmentManagement.git
synced 2026-01-11 17:18:41 +00:00
more code fixes
This commit is contained in:
parent
77cdd0ede7
commit
87b45f244b
|
|
@ -71,7 +71,7 @@ final class ApiEquipmentAttributeController extends Controller
|
||||||
->with('type')
|
->with('type')
|
||||||
->where('type/id', $type->id)
|
->where('type/id', $type->id)
|
||||||
->where('ref', (int) $request->getData('ref'))
|
->where('ref', (int) $request->getData('ref'))
|
||||||
->execute();
|
->executeCount();
|
||||||
|
|
||||||
if ($attr > 0) {
|
if ($attr > 0) {
|
||||||
$response->header->status = RequestStatusCode::R_409;
|
$response->header->status = RequestStatusCode::R_409;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user