Skip to content
Snippets Groups Projects
Commit b5be8ff6 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix: Avoid error ErrorBadValueForParamNotAString

parent 5ac63ec5
No related branches found
No related tags found
No related merge requests found
...@@ -295,7 +295,7 @@ if ($id > 0 || ! empty($ref)) ...@@ -295,7 +295,7 @@ if ($id > 0 || ! empty($ref))
} }
else else
{ {
print price($object->price).' '.$langs->trans($object->price_base_type); print price($object->price).' '.$langs->trans($object->price_base_type?$object->price_base_type:'HT');
} }
print '</td></tr>'; print '</td></tr>';
...@@ -307,7 +307,7 @@ if ($id > 0 || ! empty($ref)) ...@@ -307,7 +307,7 @@ if ($id > 0 || ! empty($ref))
} }
else else
{ {
print price($object->price_min).' '.$langs->trans($object->price_base_type); print price($object->price_min).' '.$langs->trans($object->price_base_type?$object->price_base_type:'HT');
} }
print '</td></tr>'; print '</td></tr>';
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment