webtechnick / CakePHP-Facebook-Plugin

CakePHP Facebook Plugin
http://facebook.webtechnick.com
445 stars 138 forks source link

[Fix] array_merge() warning in FacebookHelper.php #88

Closed fgaudo closed 12 years ago

fgaudo commented 12 years ago

This simple cast should fix the: Warning (2): array_merge(): Argument #2 is not an array [APP/Plugin/Facebook/View/Helper/FacebookHelper.php, line 497]

that i'm getting when calling <?php echo $this->Facebook->init(); ?>