www/includes/db_recipes.php

changeset 710
9646123ea063
parent 667
1246550451ca
child 711
0a1be3bfcc60
--- a/www/includes/db_recipes.php	Fri Aug 14 11:38:58 2020 +0200
+++ b/www/includes/db_recipes.php	Wed Aug 19 17:13:24 2020 +0200
@@ -396,7 +396,7 @@
 		$recipes .= '","st_name":"'  . str_replace($escapers, $replacements, $row['st_name']);
 		$recipes .= '","st_type":' . $row['st_type'];
 		$recipes .= ',"st_category":"' . str_replace($escapers, $replacements, $row['st_category']);
-		$recipes .= '","st_category_number":' . floatval($row['st_category_number']);
+		$recipes .= '","st_category_number":' . $row['st_category_number'];
 		$recipes .= ',"st_og_min":' . floatval($row['st_og_min']);
 		$recipes .= ',"st_og_max":' . floatval($row['st_og_max']);
 		$recipes .= ',"st_fg_min":' . floatval($row['st_fg_min']);

mercurial