Check if sig_filename exists

This commit is contained in:
snipe 2016-11-21 18:40:26 -08:00
parent d8eb68af83
commit bc84f80e20

View file

@ -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);