mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-11 22:07:29 -08:00
This literally never fucking worked. Ever. Shoot me.
This commit is contained in:
parent
cf9d0201e0
commit
154db9a416
|
@ -45,12 +45,12 @@ trait Loggable
|
||||||
$log->user_id = Auth::user()->id;
|
$log->user_id = Auth::user()->id;
|
||||||
|
|
||||||
if (!isset($target)) {
|
if (!isset($target)) {
|
||||||
throw new Exception('All checkout logs require a target.');
|
throw new \Exception('All checkout logs require a target.');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!isset($target->id)) {
|
if (!isset($target->id)) {
|
||||||
throw new Exception('That target seems invalid (no target ID available).');
|
throw new \Exception('That target seems invalid (no target ID available).');
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue