Printing opensurveysondage.class.php error instead of a non-translated error
This commit is contained in:
parent
3d1a980f2d
commit
c35a704875
@ -156,8 +156,7 @@ $form=new Form($db);
|
||||
$result=$object->fetch(0,$numsondage);
|
||||
if ($result <= 0)
|
||||
{
|
||||
print $langs->trans("ErrorRecordNotFound");
|
||||
llxFooter();
|
||||
dol_print_error($db,$object->error);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
@ -382,8 +382,7 @@ $form=new Form($db);
|
||||
$result=$object->fetch(0,$numsondage);
|
||||
if ($result <= 0)
|
||||
{
|
||||
print $langs->trans("ErrorRecordNotFound");
|
||||
llxFooter();
|
||||
dol_print_error($db,$object->error);
|
||||
exit;
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user