Printing opensurveysondage.class.php error instead of a non-translated error

This commit is contained in:
Marcos García de La Fuente 2014-01-02 15:54:17 +01:00
parent 3d1a980f2d
commit c35a704875
2 changed files with 2 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}