Merge pull request #15123 from frederic34/patch-8

fix unknown function
This commit is contained in:
Laurent Destailleur 2020-10-25 14:51:42 +01:00 committed by GitHub
commit 36854b0af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -258,17 +258,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');
}