cakephp2-php8/lib/Cake/Utility
domingues 4d77cb059d Fix a bug in Xml::fromArray()
When creating from an array with elements like this: `[ "a" => [ 0 ] ]` or `[ "a" => [ '0' ] ]` it fails and produces XML like this `<a/>` instant of `<a>0</a>`.

The problem is that in PHP `empty('0')` is true, so an exception to this case is needed.
2016-12-13 16:16:12 +00:00
..
CakeNumber.php Replacing self with static due to PHP5.3+. Following #7040. 2015-07-21 10:22:53 +02:00
CakeText.php Correct doc block. 2015-10-27 21:17:10 +01:00
CakeTime.php Fix merge to + operator. 2015-08-24 06:33:04 +02:00
ClassRegistry.php Let IDE work better with ClassRegistry::init() 2015-01-27 19:06:46 +02:00
Debugger.php Remove censoring of schema and prefix from debug() 2015-10-15 12:55:32 +01:00
File.php fix php document of File::write() 2016-08-19 02:52:44 +09:00
Folder.php Fix/tighten Folder::inPath() checks. 2016-08-26 13:45:45 +02:00
Hash.php Allow '' to be a valid key for Hash, and Session 2016-10-21 10:54:39 -04:00
Inflector.php Correct inflection of virus. 2015-09-28 21:04:23 -04:00
ObjectCollection.php Fix doc block param types. 2016-04-08 15:12:48 +02:00
Sanitize.php Update all @deprecated annotations 2014-09-02 17:03:22 +02:00
Security.php Improve doc block 2016-11-17 14:55:01 +01:00
Set.php Various improvments to the CakePH Plib files 2015-09-25 17:11:20 +02:00
String.php Merge branch 'master' into 2.7 2015-01-11 15:25:18 -05:00
Validation.php Merge branch 'backport-8741-8690' into 2.x 2016-04-30 13:11:34 -04:00
Xml.php Fix a bug in Xml::fromArray() 2016-12-13 16:16:12 +00:00