few tweaks + remove accents function
This commit is contained in:
@@ -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