Add More Allowed Characters in Search
This commit is contained in:
parent
9e3d2bf72a
commit
b8e072d224
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class Helpers {
|
|||
|
||||
// Check Search String for Valid Characters
|
||||
public static function validate_search($search) {
|
||||
if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?]+$#", $search)) {
|
||||
if (!preg_match("#^[a-zA-Z0-9äöüÄÖÜ _\-\.\*\?\;\(\)]+$#", $search)) {
|
||||
return false;
|
||||
} else {
|
||||
return true;
|
||||
|
|
Loading…
Reference in a new issue