Author: chabotc
Date: Sun Feb 15 11:13:35 2009
New Revision: 744655
URL: http://svn.apache.org/viewvc?rev=744655&view=rev
Log:
Makes the fields array consistent between the REST and RPC interface - 1.0.x
branch
Modified:
incubator/shindig/branches/1.0.x-incubating/php/src/social/service/RequestItem.php
Modified:
incubator/shindig/branches/1.0.x-incubating/php/src/social/service/RequestItem.php
URL:
http://svn.apache.org/viewvc/incubator/shindig/branches/1.0.x-incubating/php/src/social/service/RequestItem.php?rev=744655&r1=744654&r2=744655&view=diff
==============================================================================
---
incubator/shindig/branches/1.0.x-incubating/php/src/social/service/RequestItem.php
(original)
+++
incubator/shindig/branches/1.0.x-incubating/php/src/social/service/RequestItem.php
Sun Feb 15 11:13:35 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;