Allow to select beer that is in carbonation stage

Fri, 08 Mar 2019 12:00:03 +0100

author
Michiel Broek <mbroek@mbse.eu>
date
Fri, 08 Mar 2019 12:00:03 +0100
changeset 326
bf5fa5277c9f
parent 325
9a8c650972ca
child 327
6ae03de0de9e

Allow to select beer that is in carbonation stage

www/includes/db_product.php file | annotate | diff | comparison | revisions
--- a/www/includes/db_product.php	Fri Mar 08 11:31:06 2019 +0100
+++ b/www/includes/db_product.php	Fri Mar 08 12:00:03 2019 +0100
@@ -505,7 +505,7 @@
 	 */
 	if (isset($_GET['select']) && ($_GET['select'] == "ferment")) {
 		$query  = "SELECT code,name,uuid,stage,json_yeasts FROM products WHERE ";
-		$query .= "stage='1' OR stage='2' OR stage='3' OR stage='4' OR stage='5' OR stage='6' ORDER BY code;";
+		$query .= "stage='1' OR stage='2' OR stage='3' OR stage='4' OR stage='5' OR stage='6' OR stage='7' ORDER BY code;";
 		$result = mysqli_query($connect, $query) or die("SQL Error 1: " . mysqli_error($connect));
 		while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
 			$yl = 0;

mercurial