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);
|
$result=$object->fetch(0,$numsondage);
|
||||||
if ($result <= 0)
|
if ($result <= 0)
|
||||||
{
|
{
|
||||||
print $langs->trans("ErrorRecordNotFound");
|
dol_print_error($db,$object->error);
|
||||||
llxFooter();
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -382,8 +382,7 @@ $form=new Form($db);
|
|||||||
$result=$object->fetch(0,$numsondage);
|
$result=$object->fetch(0,$numsondage);
|
||||||
if ($result <= 0)
|
if ($result <= 0)
|
||||||
{
|
{
|
||||||
print $langs->trans("ErrorRecordNotFound");
|
dol_print_error($db,$object->error);
|
||||||
llxFooter();
|
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user