diff --git a/classes/local/utils.php b/classes/local/utils.php index d36ba83..32e723d 100644 --- a/classes/local/utils.php +++ b/classes/local/utils.php @@ -160,9 +160,9 @@ public static function get_wireless_interface_name() { * @return string converted */ public static function convert_hex_string($string) { - return preg_replace_callback('#\\\\x([[:xdigit:]]{2})#ism', function($matches) { - return chr(hexdec($matches[1])); - }, $string); -} + return preg_replace_callback('#\\\\x([[:xdigit:]]{2})#ism', function($matches) { + return chr(hexdec($matches[1])); + }, $string); + } }