From 345015ece265a54a44a9211d00dec0f22e63df85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20FRANCE?= Date: Fri, 23 Oct 2020 19:54:45 +0200 Subject: [PATCH] fix unknown function --- htdocs/public/onlinesign/newonlinesign.php | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/htdocs/public/onlinesign/newonlinesign.php b/htdocs/public/onlinesign/newonlinesign.php index 4408438ceaf..190824a7a10 100644 --- a/htdocs/public/onlinesign/newonlinesign.php +++ b/htdocs/public/onlinesign/newonlinesign.php @@ -257,17 +257,16 @@ if ($source == 'proposal') -if (!$found && !$mesg) $mesg = $langs->transonentitiesnoconv("ErrorBadParameters"); +if (!$found && !$mesg) $mesg = $langs->transnoentitiesnoconv("ErrorBadParameters"); if ($mesg) print '
'.dol_escape_htmltag($mesg).'
'."\n"; print ''."\n"; print "\n"; -if ($action != 'dosign') -{ - if ($found && !$error) // We are in a management option and no error - { +if ($action != 'dosign') { + if ($found && !$error) { + // We are in a management option and no error } else { dol_print_error_email('ERRORNEWONLINESIGN'); }