few tweaks + remove accents function
This commit is contained in:
1 parent
b34ef74342
commit
5e2acb53ac
3 files changed
+11
-13
No files matched your search
+1
-1
@@ -380,7 +380,7 @@ class ToolBox
|
||||
* @param String $string
|
||||
* @return String
|
||||
*/
|
||||
public function remove_accents($string)
|
||||
public static function remove_accents($string)
|
||||
{
|
||||
if(!preg_match('/[\x80-\xff]/', $string)) return $string;
|
||||
|
||||
|
||||
Reference in new issue
Block a user