Bug in PHP API code?

Hi everyone,

We were having problems with the PHP API into CM - specifically the custom field additions...

Looking over the debugging output, it looked like there were slashes missing from the closing elements of the XML...

So to fix this, we simply updated the function array2xml() and where there was "<$k>" at the end of each line, we simply added the slash to close off the element like so: </$k>

I hope this helps someone out there!

Best, Bob! :-)

Ben Ben, 8 years ago

Hey Bob,

Thank you very much for pointing this out. I had a look in the code and I think this might have been fixed in the latest version, but would you mind checking?

http://code.google.com/p/campaignmonito … se.php#818

See why 200,000 companies worldwide love Campaign Monitor.

From Australia to Zimbabwe, and everywhere in between, companies count on Campaign Monitor for email campaigns that boost the bottom line.

Get started for free