From f6d6e9b40fccb30045c8b8a6a1292162056eb8b4 Mon Sep 17 00:00:00 2001 From: Vincent Date: Wed, 2 Jul 2014 21:30:51 +0200 Subject: [PATCH] specify UTF-8 encoding as per https://github.com/jdfwarrior/Workflows/pull/7 --- src/workflows.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/workflows.php b/src/workflows.php index 5b259994..a11b01ba 100755 --- a/src/workflows.php +++ b/src/workflows.php @@ -177,7 +177,7 @@ public function toxml( $a=null, $format='array' ) { return false; endif; - $items = new SimpleXMLElement(""); // Create new XML element + $items = new SimpleXMLElement(''); // Create new XML element foreach( $a as $b ): // Loop through each object in the array $c = $items->addChild( 'item' ); // Add a new 'item' element for each object