| @@ -18,11 +18,12 @@ | ||
| 18 | 18 | { |
| 19 | 19 | foreach ($step as $oneAttribute => $value) { |
| 20 | 20 | if (empty($value)) continue; |
| 21 | 21 | |
| 22 | - $step->$oneAttribute = is_array($value) ? json_encode($value) : strip_tags($value); | |
| 22 | + $step->$oneAttribute = is_array($value) ? json_encode($value) : acym_stripTags($value); | |
| 23 | 23 | } |
| 24 | 24 | |
| 25 | + //Some of the database need a name for the column name, they add an index and the name need to be unique | |
| 25 | 26 | if (empty($step->name)) { |
| 26 | 27 | $step->name = 'step_'.time(); |
| 27 | 28 | } |
| 28 | 29 | |