mirror of
https://github.com/snipe/snipe-it.git
synced 2024-12-25 05:34:06 -08:00
Check if sig_filename exists
This commit is contained in:
parent
d8eb68af83
commit
bc84f80e20
|
@ -383,7 +383,7 @@ class ViewAssetsController extends Controller
|
||||||
$logaction->updated_at = date("Y-m-d H:i:s");
|
$logaction->updated_at = date("Y-m-d H:i:s");
|
||||||
|
|
||||||
|
|
||||||
if ($sig_filename) {
|
if (isset($sig_filename)) {
|
||||||
$logaction->accept_signature = $sig_filename;
|
$logaction->accept_signature = $sig_filename;
|
||||||
}
|
}
|
||||||
$log = $logaction->logaction($logaction_msg);
|
$log = $logaction->logaction($logaction_msg);
|
||||||
|
|
Loading…
Reference in a new issue