Author: chabotc Date: Sun Feb 15 11:10:30 2009 New Revision: 744654 URL: http://svn.apache.org/viewvc?rev=744654&view=rev Log: Makes the fields array consistent between the REST and RPC interface
Modified: incubator/shindig/trunk/php/src/social/service/RequestItem.php Modified: incubator/shindig/trunk/php/src/social/service/RequestItem.php URL: http://svn.apache.org/viewvc/incubator/shindig/trunk/php/src/social/service/RequestItem.php?rev=744654&r1=744653&r2=744654&view=diff ============================================================================== --- incubator/shindig/trunk/php/src/social/service/RequestItem.php (original) +++ incubator/shindig/trunk/php/src/social/service/RequestItem.php Sun Feb 15 11:10:30 2009 @@ -163,7 +163,7 @@ $cleanResult = array(); foreach ($result as $field) { if (! in_array($field, $cleanResult)) { - $cleanResult[] = urldecode($field); + $cleanResult[urldecode($field)] = urldecode($field); } } $result = $cleanResult;