View Full Version : problem to print "&" carecter !
nirvano
February 25, 2017, 10:18 AM
Hi helllo evrey body
i have i problem to print ( & ) carecter jast in the menu filter
i have ( &, ) if i make (&)
my website use UTF-8 and evrey think is ok in authers pages
http://forum.flynax.com/attachment.php?attachmentid=2193&stc=1
think you
Curtis
February 26, 2017, 07:53 AM
Hello,
I've fixed your problem. If somebody have same issue, that they can use following fix:
1. open file: /includes/classes/rlLang.class.php in row ~71 and find code
foreach ($fields as &$field) { if (is_array($item)) { $item[$field] = $lang_values[$module.'+'.$field.'+'.$item['Key']]; } else { $data[$field] = $lang_values[$module.'+'.$field.'+'.$data['Key']]; } }
2. and replace to:
foreach ($fields as &$field) { if (is_array($item)) { $item[$field] = htmlspecialchars_decode($lang_values[$module.'+'.$field.'+'.$item['Key']]); } else { $data[$field] = $lang_values[$module.'+'.$field.'+'.$data['Key']]; } }
nirvano
February 26, 2017, 09:32 AM
hello
Think you Curtis (http://forum.flynax.com/member.php?633-Curtis) :rolleyes: good job
Powered by vBulletin® Version 4.1.9 Copyright © 2023 vBulletin Solutions, Inc. All rights reserved.