Closed (fixed)
Project:
Facebook Connect
Version:
7.x-2.0-beta3
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
10 Apr 2012 at 21:29 UTC
Updated:
29 Apr 2012 at 11:00 UTC
Line 448:
$config['connect_js'] = "document.location.protocol + '//connect.facebook.net/$config[language_code]/all.js'";
Should be just before line 458:
$config['loginout_mode'] = variable_get('fbconnect_loginout_mode', 'manual');
Which gives you this result:
$config['app_id'] = variable_get('fbconnect_appid', NULL);
$config['secret_api_key'] = variable_get('fbconnect_skey', NULL);
$config['debug'] = variable_get('fbconnect_debug', FALSE);
if (module_exists('i18n')) {
global $language;
$switch_code = variable_get('fbconnect_language_code_' . $language->language, '');
if ($switch_code) {
$config['language_code'] = $switch_code;
}
}
$config['connect_js'] = "document.location.protocol + '//connect.facebook.net/$config[language_code]/all.js'";
$config['loginout_mode'] = variable_get('fbconnect_loginout_mode', 'manual');
$config['invite_name'] = variable_get('fbconnect_invite_name', variable_get('site_name', $base_url));
$config['fast_reg_mode'] = variable_get('fbconnect_fast_reg', NULL);
$config['fast_reg_autoname'] = variable_get('fbconnect_fast_reg_autoname', 1);
Comments
Comment #1
jcisio commentedThanks. It's fixed in the last dev.