Same array fix for recipes

Split batch, adjust mash step volume. In the duplicated log_brew handle the missing values. In save product, round the mash step sg to 4 decimals. In prod_edit, ingredients are stored as strings, not arrays. This triggered a memory corruption that only happened in rare circumstances. Don't fix mash step fields in the javascript, it is already done during load from the database. Calculation of the mash volume is rounded to 6 decimals. Enter mash step Brix/Plato value, the SG result is rounded to 4 decimals.

Don't log successfull reduced ingredients.

In product editor calculate fermentables before the first IBU calculation. In recipe editor changed to the new water calculations like in the product editor.

More efficient code for get*sources.php form dropdown lists.

Killed the refractometer calculation by Sean Terrill as it is not good enough.

Fixed skipping brew stages due to better data handling

Better error reporting in profiles fermentation steps, mash profiles, beer styles, water profiles and general setup.

Improved error handling for inventory equipments, fermentables, hops, miscs, suppliers, water and yeasts.

Version 0.3.38. Better error handling in inventory equipments. Check if equipment is in use before delete.

(0) -300 -100 -10 +10 tip

mercurial