www/prod_forum.php

changeset 516
28670364bd0c
parent 514
3c680d1dea35
child 537
9dbce45f39b7
child 539
fe9ac6d49c4f
--- a/www/prod_forum.php	Thu Oct 17 16:00:10 2019 +0200
+++ b/www/prod_forum.php	Thu Oct 17 16:09:53 2019 +0200
@@ -168,7 +168,7 @@
 
 	if ($item['y_form'] == 0)       // Liquid
                 $amount = sprintf("%.0f",floatval($item['y_amount']))." pak";
-        else if ($item['y_form'] == 1)  // Dry
+        else if ($item['y_form'] == 1 || $item['y_form'] == 6)  // Dry
                 $amount = sprintf("%.1f",floatval($item['y_amount'])*1000)." gr";
         else
                 $amount = sprintf("%.0f",floatval($item['y_amount'])*1000)." ml";

mercurial