Skip to content

Commit 29a34e6

Browse files
author
neustadt
committed
cast boolean property values properly
1 parent 645468c commit 29a34e6

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [3.2.3]
2+
- Cast boolean property values properly
3+
14
## [3.2.2]
25
- Filter smarty syntax before compiling and strip json induced escapes
36
- Added multi-line code editor for property values in backend app

Services/TagManagerVariables.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,7 @@ private function castArrayValues(&$value)
211211
case is_array(json_decode($value)):
212212
case is_int(json_decode($value)):
213213
case is_float(json_decode($value)):
214+
case is_bool(json_decode($value)):
214215
$value = json_decode($value);
215216
}
216217
}

plugin.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@
33
<label lang="de">Tag Manager</label>
44
<label lang="en">Tag Manager</label>
55

6-
<version>3.2.2</version>
6+
<version>3.2.3</version>
77
<link>http://www.webmatch.de</link>
88
<author>Webmatch GmbH</author>
99
<compatibility minVersion="5.2.0" />
1010

11+
<changelog version="3.2.3">
12+
<changes lang="de">Cast boolean property values properly</changes>
13+
<changes lang="en">Typumwandlung boolescher Werte in Eigenschaften</changes>
14+
</changelog>
15+
1116
<changelog version="3.2.2">
1217
<changes lang="de">Json encodierte Smarty-Syntax wird demaskiert. Erlaubt bspw jetzt die Verwendung von doppelten Anführungszeichen: |cat:"foo"</changes>
1318
<changes lang="en">Json encoded Smarty-Syntax is being unescaped. Now allows the use double quotes e.g. |cat:"foo"</changes>

0 commit comments

Comments
 (0)