www/import/from_brouwhulp.php

changeset 13
b8c3ca152984
parent 11
d341f0a91a91
child 15
ccbe79db80b8
--- a/www/import/from_brouwhulp.php	Sun Aug 12 23:20:17 2018 +0200
+++ b/www/import/from_brouwhulp.php	Mon Aug 13 15:11:26 2018 +0200
@@ -121,6 +121,8 @@
 			$sql .= "', inventory='" . $hop->INVENTORY;
 		if ($hop->COST)
 			$sql .= "', cost='" . $hop->COST;
+		if ($hop->TOTAL_OIL)
+			$sql .= "', total_oil='" . $hop->TOTAL_OIL;
 		$sql .= "';";
 		if (! $result = mysqli_query($db, $sql)) {
 			printf("Error: %s\n", mysqli_error($db));
@@ -445,7 +447,7 @@
 
 
 do_fermentables();
-//do_hops();
+do_hops();
 //do_yeasts();
 //do_waters();
 //do_miscs();

mercurial