www/includes/db_product.php

changeset 515
9d771385a8a0
parent 500
8d53ad389204
child 517
37cae59e4d8d
--- a/www/includes/db_product.php	Wed Oct 16 21:05:03 2019 +0200
+++ b/www/includes/db_product.php	Thu Oct 17 16:00:10 2019 +0200
@@ -441,7 +441,7 @@
 		}
 	}
 	$yeasts .= ']';
-	//syslog(LOG_NOTICE, $yeasts);
+	syslog(LOG_NOTICE, $yeasts);
 	$sql .= "', json_yeasts='" . $yeasts;
 
 	$mashs = '[';
@@ -943,6 +943,7 @@
 					mysqli_free_result($result2);
 				}
 			}
+			syslog(LOG_NOTICE, json_encode($yeasts, JSON_UNESCAPED_UNICODE));
 			$brew .= ',"yeasts":' . json_encode($yeasts, JSON_UNESCAPED_UNICODE);
 		} else {
 			// Just leave it

mercurial