@@ -345,7 +345,7 @@ |
||
| 345 | 345 | } |
| 346 | 346 | } |
| 347 | 347 | } |
| 348 | - //echo "<pre>".print_r($jsyn)."</pre>"; |
|
| 348 | + //echo "<pre>".print_r($jsyn)."</pre>"; |
|
| 349 | 349 | return implode(' ', $jsyn); |
| 350 | 350 | } |
| 351 | 351 | |
@@ -329,7 +329,7 @@ |
||
| 329 | 329 | if ($toSetValue && !is_bool($jsonStructure[$topLevelObject][$_string])) { |
| 330 | 330 | $jsyn[$i] = $jsonStructure[$topLevelObject][$_string]; |
| 331 | 331 | } else { |
| 332 | - if ($replaceWithComma){ |
|
| 332 | + if ($replaceWithComma) { |
|
| 333 | 333 | $string = ", $string"; |
| 334 | 334 | } |
| 335 | 335 | $jsyn[$i] = (isset($jsonStructure[$topLevelObject][$_string]) && $jsonStructure[$topLevelObject][$_string] == true) ? strtoupper($string) : null; |