Permalink
Browse files

Fixed incorrect handling of utf8 characters in custom blocks

  • Loading branch information...
marc1706 committed Jul 9, 2011
1 parent 6059562 commit ca25262e38a135b2e82553cf7991ec9c75541b45
Showing with 1 addition and 1 deletion.
  1. +1 −1 root/portal/modules/portal_custom.php
@@ -199,7 +199,7 @@ public function manage_custom($value, $key, $module_id)
$custom_code = utf8_normalize_nfc(request_var('custom_code', '', true));
$custom_bbcode = request_var('custom_use_bbcode', 1); // default to BBCode
$custom_permission = request_var('permission-setting', array(0 => ''));
- $custom_title = utf8_normalize_nfc(request_var('module_name', ''));
+ $custom_title = utf8_normalize_nfc(request_var('module_name', '', true));
$custom_image_src = utf8_normalize_nfc(request_var('module_image', ''));
$groups_ary = array();
$uid = $bitfield = $flags = '';

0 comments on commit ca25262

Please sign in to comment.