diff --git a/device_template.php b/device_template.php index d60accd..36b0db1 100644 --- a/device_template.php +++ b/device_template.php @@ -60,7 +60,7 @@ protected function load_template_list() { } public function get_template($type) { - $type = preg_replace('/[^\p{L}_\p{N}\s-:]/u','', $type); + $type = preg_replace('/[^\p{L}_\p{N}\s\-:]/u','', $type); $result = $this->load_template_list(); if (isset($result['success']) && $result['success'] == false) { return $result;