diff --git a/app/CustomFuncPao.php b/app/CustomFuncPao.php index bbbe65f5..ccd0d3cd 100644 --- a/app/CustomFuncPao.php +++ b/app/CustomFuncPao.php @@ -870,7 +870,11 @@ function showDettSingleOrdineWeb($idordine) function showprice($prezzo) { - return ' € ' . number_format($prezzo, 2); + try { + return ' € ' . number_format($prezzo, 2); + } catch (\Exception $e) { + return $prezzo; + } } function getRigaArticoloByArt($article, $ind, $sep)