www/import/from_brouwhulp.php

changeset 38
b7d44c98d609
parent 35
d6314a95021c
child 45
95251bedfab4
--- a/www/import/from_brouwhulp.php	Sat Aug 25 13:07:13 2018 +0200
+++ b/www/import/from_brouwhulp.php	Mon Aug 27 22:58:20 2018 +0200
@@ -399,9 +399,9 @@
 				if ($comma)
 					$steps .= ',';
 				$comma = TRUE;
-				$steps .= '{"name":"' . mysqli_real_escape_string($db, $step->NAME) . '"';
+				$steps .= '{"step_name":"' . mysqli_real_escape_string($db, $step->NAME) . '"';
 				if ($step->TYPE) {
-					$steps .= ',"type":"' . $step->TYPE . '"';
+					$steps .= ',"step_type":"' . $step->TYPE . '"';
 				}
 				if ($step->STEP_TEMP) {
 					$steps .= ',"step_temp":"' . $step->STEP_TEMP . '"';

mercurial