Skip to content
Snippets Groups Projects
Commit c35a7048 authored by Marcos García de La Fuente's avatar Marcos García de La Fuente
Browse files

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

parent 3d1a980f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment