use mb_substr instead of substr + force to work internally in UTF8
This commit is contained in:
parent
4ca178f8e8
commit
1f2522a579
30 changed files with 50 additions and 40 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue