scrutinizer in core/class/notify.class.php : variable \labeltouse not defined for all paths

This commit is contained in:
Faustin 2022-09-10 16:21:16 +02:00
parent b66b71817c
commit 44728ff93a

View File

@ -625,6 +625,8 @@ class Notify
$mimefilename_list[] = $ref.".pdf";
}
$labeltouse = !empty($labeltouse) ? $labeltouse : '';
$parameters = array('notifcode'=>$notifcode, 'sendto'=>$sendto, 'replyto'=>$replyto, 'file'=>$filename_list, 'mimefile'=>$mimetype_list, 'filename'=>$mimefilename_list, 'outputlangs'=>$outputlangs, 'labeltouse'=>$labeltouse);
if (!isset($action)) {
$action = '';