recurly/recurly-client-php — Issue #27: Recurly_Resource::PopulateXmlDoc warnings
Author: abfan1127
Created: 2011-12-27 08:47:17+00:00
State: open

I get warnings from line 124 of resource.php

```php
$node->appendChild($doc->createElement($key, $val));
```php

however, $val is an empty array. you check on line 100 if its an array AND not empty. However, we don't address an empty array.

This particular instance is a $key of "subscription_add_ons"

The fix superficially looks like we should detect an empty array and pass an empty string.