diff -r bcba4f17703f -r ee7bcfb8e270 www/includes/formulas.php --- a/www/includes/formulas.php Wed Aug 21 14:03:08 2019 +0200 +++ b/www/includes/formulas.php Wed Aug 21 16:28:54 2019 +0200 @@ -208,6 +208,8 @@ global $my_factor_fwh; global $my_factor_pellet; global $my_factor_plug; + global $my_factor_wethop; + global $my_factor_cryohop; $fmoment = 1.0; if (($useat == 5) || ($useat == 4) || ($useat == 3)) { // Dry hop, Whirlpool or Aroma @@ -225,6 +227,12 @@ if ($form == 1) { // Plugs $pfactor += $my_factor_plug / 100; } + if ($form == 3) { // Wet leaf + $pfactor += $my_factor_wethop / 100; + } + if ($form == 4) { // Cryo hop + $pfactor += $my_factor_cryohop / 100; + } $ibu = 0; if (($method == 0) || ($method == 3)) { // Tinseth or Garetz // For Garetz, we need the $ibu