mirror of
https://github.com/snipe/snipe-it.git
synced 2025-02-21 03:15:45 -08:00
Fixed #11343 - ability to null asset name
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
3b462ffadc
commit
675f42401c
|
@ -858,7 +858,7 @@ class AssetsController extends Controller
|
|||
$asset->assignedTo()->disassociate($asset);
|
||||
$asset->accepted = null;
|
||||
|
||||
if ($request->filled('name')) {
|
||||
if ($request->has('name')) {
|
||||
$asset->name = $request->input('name');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue