fix unknown function

This commit is contained in:
Frédéric FRANCE 2020-10-23 19:54:45 +02:00 committed by GitHub
parent ae4020c9fe
commit 345015ece2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -257,17 +257,16 @@ if ($source == 'proposal')
if (!$found && !$mesg) $mesg = $langs->transonentitiesnoconv("ErrorBadParameters");
if (!$found && !$mesg) $mesg = $langs->transnoentitiesnoconv("ErrorBadParameters");
if ($mesg) print '<tr><td align="center" colspan="2"><br><div class="warning">'.dol_escape_htmltag($mesg).'</div></td></tr>'."\n";
print '</table>'."\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');
}