From 16bf0ee013605532d416df12eb7007485bf41716 Mon Sep 17 00:00:00 2001 From: cvn Date: Thu, 19 Jun 2014 03:14:21 -0700 Subject: [PATCH] Specifying UTF-8 encoding --- workflows.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/workflows.php b/workflows.php index 936b309..a7f8815 100644 --- a/workflows.php +++ b/workflows.php @@ -4,8 +4,8 @@ * Description: This PHP class object provides several useful functions for retrieving, parsing, * and formatting data to be used with Alfred 2 Workflows. * Author: David Ferguson (@jdfwarrior) -* Revised: 6/6/2013 -* Version: 0.3.3 +* Revised: 6/19/2014 +* Version: 0.3.4 */ class Workflows { @@ -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 ): // Lop through each object in the array $c = $items->addChild( 'item' ); // Add a new 'item' element for each object @@ -480,4 +480,4 @@ public function result( $uid, $arg, $title, $sub, $icon, $valid='yes', $auto=nul return $temp; } -} \ No newline at end of file +}