Correct bug for Facebook authentication plugin

1.9.x
baelmyhu 11 years ago
parent fb7aa5cef7
commit 50833e0a6a
  1. 2
      plugin/add_facebook_login_button/index.php

@ -9,7 +9,7 @@ if (api_is_anonymous()) {
$_template['show_message'] = true; $_template['show_message'] = true;
// the default title // the default title
$button_url = api_get_path(WEB_PLUGIN_PATH)."add_facebook_login_button/img/cnx_fb.png"; $button_url = api_get_path(WEB_PLUGIN_PATH)."add_facebook_login_button/img/cnx_fb.png";
$href_link = facebook_get_login_url(); $href_link = facebookGetLoginUrl();
if (!empty($plugin_info['settings']['add_facebook_login_button_facebook_button_url'])) { if (!empty($plugin_info['settings']['add_facebook_login_button_facebook_button_url'])) {
$button_url = api_htmlentities($plugin_info['settings']['add_facebook_login_button_facebook_button_url']); $button_url = api_htmlentities($plugin_info['settings']['add_facebook_login_button_facebook_button_url']);
} }

Loading…
Cancel
Save