public
Description: The ultra-lightweight ultra-flexible blogging engine with a fetish for birds and misspellings.
Homepage: http://chyrp.net/
Clone URL: git://github.com/vito/chyrp.git
Click here to lend your support to: chyrp and make a donation at www.pledgie.com !
Fixed Post::arr2xml. [#202 state:resolved]
vito (author)
Tue Sep 02 14:00:54 -0700 2008
commit  af7fc7e2ca49b0d56dfb023d164259831e87d0c4
tree    2691d3771c405f8c38be3393c8998bf4f512dc1b
parent  1a5a56f507a1104b9c5d517a171a5bcace80f5e0
...
695
696
697
698
 
699
700
701
702
 
703
704
705
...
695
696
697
 
698
699
700
701
 
702
703
704
705
0
@@ -695,11 +695,11 @@
0
           if (in_array(0, array_keys($val))) { # Numeric-indexed things need to be added as duplicates
0
             foreach ($val as $dup) {
0
               $xml = $object->addChild($key);
0
-              arr2xml($xml, $dup);
0
+              self::arr2xml($xml, $dup);
0
             }
0
           } else {
0
             $xml = $object->addChild($key);
0
-            arr2xml($xml, $val);
0
+            self::arr2xml($xml, $val);
0
           }
0
         } else
0
           $object->addChild($key, fix($val, false, false));

Comments