use mb_substr instead of substr + force to work internally in UTF8

This commit is contained in:
Dany De Bontridder 2012-05-27 21:35:52 +00:00
parent 4ca178f8e8
commit 1f2522a579
30 changed files with 50 additions and 40 deletions

View file

@ -73,7 +73,7 @@ if (isset($_POST['SAVE']))
{
if (substr_count($name, 'PRIV') != 0)
{
$db_id = substr($name, 4);
$db_id = mb_substr($name, 4);
$cn = new Database();
$UserChange->set_folder_access($db_id, $elem);
Dossier::synchro_admin($db_id);