Fix toBoolean to allow false - #91
Conversation
… came out as an empty string which is false
Cipa
commented
Apr 23, 2011
Colorbox Plugin Support: http://colorpowered.com/colorbox/ Supported settings - in [] supported values theme => theme1 [choose from theme1 to theme5] Example: [[!Gallery? |
opengeek
commented
Jan 30, 2013
Cipa, is this still in any way a valid pull request for the original subject—"Fix toBoolean to allow |
jpdevries
commented
Oct 1, 2013
Thanks @Cipa. Got this in a testing branch over at modxcms/Gallery. Just want to make sure Colorbox isn't already outdated since this PR got so stale. |
Fix to toBoolean - Allows the use property =
falseinstead of property=0Fix to support 'true' when passed as a string. For some reason 'true' came out as an empty string which is false