mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 05:01:06 -08:00
a note to remember this tomorrow
This commit is contained in:
parent
5f8ac66036
commit
43d8474caa
|
@ -513,6 +513,8 @@ class AssetModelsController extends Controller
|
|||
|
||||
$validator = Validator::make($data, $rules);
|
||||
|
||||
// Okay, this is the problem. Seems to be failing every time, kind of makes sense because it looks like
|
||||
// $rules is an empty array, but I need to wrap my head around this entire method a little more.
|
||||
if($validator->fails()){
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue