diff -r daf2d9d6fa18 -r 14a84d42031d www/includes/db_recipes.php --- a/www/includes/db_recipes.php Sat Feb 02 14:57:41 2019 +0100 +++ b/www/includes/db_recipes.php Sat Feb 02 17:07:22 2019 +0100 @@ -220,7 +220,7 @@ $yeast .= ',"y_inventory":' . $item['y_inventory']; $yeast .= ',"y_use":' . $item['y_use']; $yeast .= ',"y_cost":' . $item['y_cost'] . '}'; - syslog(LOG_NOTICE, $yeast); + //syslog(LOG_NOTICE, $yeast); $yeasts .= $yeast; } } @@ -245,7 +245,7 @@ $mash .= ',"step_time":' . $item['step_time']; $mash .= ',"ramp_time":' . $item['ramp_time']; $mash .= ',"end_temp":' . $item['end_temp'] . '}'; - syslog(LOG_NOTICE, $mash); + //syslog(LOG_NOTICE, $mash); $mashs .= $mash; } } @@ -405,7 +405,6 @@ mysqli_free_result($result2); } } - // syslog(LOG_NOTICE, json_encode($hops, JSON_UNESCAPED_UNICODE)); $recipes .= ',"hops":' . json_encode($hops, JSON_UNESCAPED_UNICODE); $miscs = json_decode($row['json_miscs'], true); @@ -423,7 +422,6 @@ mysqli_free_result($result2); } } - // syslog(LOG_NOTICE, json_encode($miscs, JSON_UNESCAPED_UNICODE)); $recipes .= ',"miscs":' . json_encode($miscs, JSON_UNESCAPED_UNICODE); $yeasts = json_decode($row['json_yeasts'], true); @@ -435,7 +433,6 @@ $sql2 .= " form='".str_replace($rescapers, $rreplacements, $yeasts[$i]['y_form'])."' AND"; $sql2 .= " laboratory='".str_replace($rescapers, $rreplacements, $yeasts[$i]['y_laboratory'])."' AND"; $sql2 .= " product_id='".str_replace($rescapers, $rreplacements, $yeasts[$i]['y_product_id'])."'"; - // syslog(LOG_NOTICE, $sql2); if ($result2 = mysqli_query($connect, $sql2)) { if ($obj = mysqli_fetch_object($result2)) { $yeasts[$i]['y_inventory'] = floatval($obj->inventory); @@ -444,7 +441,6 @@ mysqli_free_result($result2); } } - // syslog(LOG_NOTICE, json_encode($yeasts, JSON_UNESCAPED_UNICODE)); $recipes .= ',"yeasts":' . json_encode($yeasts, JSON_UNESCAPED_UNICODE); } else { // Just leave it.