few tweaks + remove accents function

This commit is contained in:
2015-12-25 20:32:44 +01:00
parent b34ef74342
commit 5e2acb53ac
3 changed files with 11 additions and 13 deletions

View File

@@ -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;