Commit: c1ee558acb69503bf7b2949e323841dcbc44978f Author: Rasmus Lerdorf <[email protected]> Mon, 27 May 2013 09:51:41 -0700 Parents: 9fcac0c6783fd0b1302da1682802086ae63658d1 Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=c1ee558acb69503bf7b2949e323841dcbc44978f Log: Fix warning Changed paths: M ws.php Diff: diff --git a/ws.php b/ws.php index 7ba4d3f..0561aaa 100644 --- a/ws.php +++ b/ws.php @@ -95,7 +95,7 @@ function ws_bing_massage($data) { ), ); - foreach ($set as $result) { + foreach ((array)$set as $result) { $massaged['ResultSet']['Result'][] = array( 'Title' => $result['Title'], 'Summary' => $result['Description'], -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
