From bc84f80e2029fb32c815860a511d6e85b119c38a Mon Sep 17 00:00:00 2001 From: snipe Date: Mon, 21 Nov 2016 18:40:26 -0800 Subject: [PATCH] Check if sig_filename exists --- app/Http/Controllers/ViewAssetsController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Controllers/ViewAssetsController.php b/app/Http/Controllers/ViewAssetsController.php index ddb3fa1a6c..6febfd5f8e 100755 --- a/app/Http/Controllers/ViewAssetsController.php +++ b/app/Http/Controllers/ViewAssetsController.php @@ -383,7 +383,7 @@ class ViewAssetsController extends Controller $logaction->updated_at = date("Y-m-d H:i:s"); - if ($sig_filename) { + if (isset($sig_filename)) { $logaction->accept_signature = $sig_filename; } $log = $logaction->logaction($logaction_msg);