mirror of
https://github.com/snipe/snipe-it.git
synced 2024-11-10 07:34:06 -08:00
Fixed #8558 - error on asset acceptance when no sig is required
This commit is contained in:
parent
f5a0726f98
commit
f2aebe5f9a
|
@ -94,7 +94,7 @@ class AcceptanceController extends Controller {
|
|||
if (!Storage::exists('private_uploads/signatures')) Storage::makeDirectory('private_uploads/signatures', 775);
|
||||
|
||||
|
||||
|
||||
$sig_filename = '';
|
||||
if ($request->filled('signature_output')) {
|
||||
$sig_filename = "siglog-" .Str::uuid() . '-'.date('Y-m-d-his').".png";
|
||||
$data_uri = e($request->input('signature_output'));
|
||||
|
|
Loading…
Reference in a new issue