# HG changeset patch # User Michiel Broek # Date 1534614091 -7200 # Node ID af136d9eb3c5a93395d62b0a522b3e776df56108 # Parent d9da6c40dff5a7d34f833d9cc7e7f42ddb25eec7 Dropped not needed fields from mash profiles. diff -r d9da6c40dff5 -r af136d9eb3c5 www/import/from_brouwhulp.php --- a/www/import/from_brouwhulp.php Sat Aug 18 19:40:30 2018 +0200 +++ b/www/import/from_brouwhulp.php Sat Aug 18 19:41:31 2018 +0200 @@ -391,19 +391,6 @@ $sql = "INSERT INTO inventory_mash_profiles SET name='" . mysqli_real_escape_string($db, $mash->NAME); if ($mash->NOTES) $sql .= "', notes='" . mysqli_real_escape_string($db, $mash->NOTES); - if ($mash->GRAIN_TEMP) - $sql .= "', grain_temp='" . $mash->GRAIN_TEMP; - if ($mash->TUN_TEMP) - $sql .= "', tun_temp='" . $mash->TUN_TEMP; - if ($mash->SPARGE_TEMP) - $sql .= "', sparge_temp='" . $mash->SPARGE_TEMP; - if ($mash->PH) - $sql .= "', ph='" . $mash->PH; - if ($mash->TUN_WEIGHT) - $sql .= "', tun_weight='" . $mash->TUN_WEIGHT; - if ($mash->TUN_SPECIFIX_HEAT) - $sql .= "', tun_specific_heat='" . $mash->TUN_SPECIFIC_HEAT; - ($mash->EQUIP_ADJUST == 'TRUE') ? $sql .= "', equip_adjust='1" : $sql .= "', equip_adjust='0"; /* * Put the steps in a json array