mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
using correct bit not just any overload setting
This commit is contained in:
parent
b90d93ddbb
commit
899c04abb5
@ -67,7 +67,7 @@ function cut_bytes(&$data,$offset,$len=null)
|
||||
{
|
||||
return $func_overload & 2 ? mb_substr($data,$offset,bytes($data),'ascii') : substr($data,$offset);
|
||||
}
|
||||
return $func_overload ? mb_substr($data,$offset,$len,'ascii') : substr($data,$offset,$len);
|
||||
return $func_overload & 2 ? mb_substr($data,$offset,$len,'ascii') : substr($data,$offset,$len);
|
||||
}
|
||||
|
||||
if (!function_exists('mb_strlen'))
|
||||
|
Loading…
Reference in New Issue
Block a user