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, 7 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

Join 200,000 companies around the world that use Campaign Monitor to run email marketing campaigns that deliver results for their business.

Get started for free