Skip to content

Commit

Permalink
Merge pull request #8287 from monishdeb/CRM-18476
Browse files Browse the repository at this point in the history
CRM-18476: Invalid argument supplied for foreach() in CRM_Extension_Browser->_discoverRemote()
  • Loading branch information
monishdeb committed May 3, 2016
2 parents 4143093 + 6190f47 commit 5af25e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CRM/Extension/Browser.php
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ private function _discoverRemote() {
}

$this->_remotesDiscovered = array();
foreach ($remotes as $id => $xml) {
foreach ((array) $remotes as $id => $xml) {
$ext = CRM_Extension_Info::loadFromString($xml);
$this->_remotesDiscovered[] = $ext;
}
Expand Down

0 comments on commit 5af25e3

Please sign in to comment.