mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-12 14:27:33 -08:00
formatting
This commit is contained in:
parent
3f834cb88f
commit
e05af5216e
|
@ -35,11 +35,11 @@ class StoreAssetRequest extends ImageUploadRequest
|
|||
parent::rules(),
|
||||
);
|
||||
|
||||
// unsets unique check here, that check cannot run twice.
|
||||
$rules['asset_tags.*'] = $rules['asset_tag'];
|
||||
unset($rules['asset_tag']);
|
||||
$rules['serials.*'] = $rules['serial'];
|
||||
unset($rules['serial']);
|
||||
// unsets unique check here, that check cannot run twice.
|
||||
$rules['asset_tags.*'] = $rules['asset_tag'];
|
||||
unset($rules['asset_tag']);
|
||||
$rules['serials.*'] = $rules['serial'];
|
||||
unset($rules['serial']);
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue