Permalink
Browse files

Merge pull request #88 from Gaudo/patch-1

[Fix] array_merge() warning in FacebookHelper.php
  • Loading branch information...
2 parents 8bcd201 + ff7b33e commit 523aeaa526ed4f545c7c40a8545676be7d8328c3 @webtechnick committed Jul 27, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 View/Helper/FacebookHelper.php
@@ -494,7 +494,7 @@ public function like($options = array()){
public function init($options = null, $reload = true) {
$options = array_merge(array(
'perms' => 'email'
- ), $options);
+ ), (array)$options);
if ($appId = FacebookInfo::getConfig('appId')) {
$init = '<div id="fb-root"></div>';
$init .= '<script src="//connect.facebook.net/en_US/all.js"></script>';

0 comments on commit 523aeaa

Please sign in to comment.