--- a/web/lib/Zend/Json/Decoder.php Thu Mar 21 17:31:31 2013 +0100
+++ b/web/lib/Zend/Json/Decoder.php Thu Mar 21 19:50:53 2013 +0100
@@ -14,9 +14,9 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
- * @version $Id: Decoder.php 22653 2010-07-22 18:41:39Z mabe $
+ * @version $Id: Decoder.php 24799 2012-05-12 19:27:07Z adamlundrigan $
*/
/**
@@ -29,7 +29,7 @@
*
* @category Zend
* @package Zend_Json
- * @copyright Copyright (c) 2005-2010 Zend Technologies USA Inc. (http://www.zend.com)
+ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com)
* @license http://framework.zend.com/license/new-bsd New BSD License
*/
class Zend_Json_Decoder
@@ -236,6 +236,9 @@
// Create new StdClass and populate with $members
$result = new StdClass();
foreach ($members as $key => $value) {
+ if ($key === '') {
+ $key = '_empty_';
+ }
$result->$key = $value;
}
break;