If I have this snippet
<?php
$my_prop = 'B';
return $scriptProperties['my_prop'];
and I call it with [[!mySnippet? &my_prop=`A`]]
in MODX 3, it returns B.
In MODX 2, it returns A.
Why has that changed?
If I have this snippet
<?php
$my_prop = 'B';
return $scriptProperties['my_prop'];
and I call it with [[!mySnippet? &my_prop=`A`]]
in MODX 3, it returns B.
In MODX 2, it returns A.
Why has that changed?