Closed vectoroc closed 14 years ago
http://github.com/lewsid/chargify_api_php/blob/master/lib/ChargifyProduct.php#L18
here is my monkey patch
foreach($product_xml_node as $key => $element) { if (count($element)) { foreach($element as $childname => $child) { $this->{$key}[$childname] = (string)$child; } } else { $this->$key = (string)$element; }
I'll roll it in. Thanks!
http://github.com/lewsid/chargify_api_php/blob/master/lib/ChargifyProduct.php#L18
here is my monkey patch