GetSimple Support Forum

Full Version: Too much convert functions - unpredictable result with non-english
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
You are using this queue of convert in admin/setting.php, line 60
Code:
$SITENAME = htmlentities(stripslashes(strip_tags(html_entity_decode($_POST['sitename'], ENT_QUOTES))));

The combination of htmlentities and html_entity_decode given unpredictable result for non-english (non-latin) words.

I have made new code (admin/setting.php, line 60):
Code:
$SITENAME = stripslashes(strip_tags(html_entity_decode($_POST['sitename'], ENT_QUOTES)));
and now my site with russian letters working stably.