Skip to content

Commit

Permalink
[fix] Special characters in captions saved correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
SchlesserClaude committed Feb 5, 2015
1 parent 8673439 commit c56626c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,15 +179,15 @@ public function admin_main ()

// Login page.
$oa_social_login_login_page_disable = ((request_var ('oa_social_login_login_page_disable', 0) == 1) ? 1 : 0);
$oa_social_login_login_page_caption = request_var ('oa_social_login_login_page_caption', '');
$oa_social_login_login_page_caption = utf8_normalize_nfc(request_var('oa_social_login_login_page_caption', '', true));

// Registration page.
$oa_social_login_registration_page_disable = ((request_var ('oa_social_login_registration_page_disable', 0) == 1) ? 1 : 0);
$oa_social_login_registration_page_caption = request_var ('oa_social_login_registration_page_caption', '');
$oa_social_login_registration_page_caption = utf8_normalize_nfc(request_var('oa_social_login_registration_page_caption', '', true));

// Main page.
$oa_social_login_index_page_disable = ((request_var ('oa_social_login_index_page_disable', 0) == 1) ? 1 : 0);
$oa_social_login_index_page_caption = request_var ('oa_social_login_index_page_caption', '');
$oa_social_login_index_page_caption = utf8_normalize_nfc(request_var('oa_social_login_index_page_caption', '', true));

// Save configuration.
set_config ('oa_social_login_disable', $oa_social_login_disable);
Expand Down

0 comments on commit c56626c

Please sign in to comment.