allow ":" in filter
This commit is contained in:
parent
54a5672bc2
commit
ed999af541
|
@ -222,7 +222,7 @@ class lamList {
|
||||||
$foundFilter = $_POST["filter" . strtolower($this->attrArray[$i])];
|
$foundFilter = $_POST["filter" . strtolower($this->attrArray[$i])];
|
||||||
}
|
}
|
||||||
if (isset($foundFilter) && ($foundFilter != '')) {
|
if (isset($foundFilter) && ($foundFilter != '')) {
|
||||||
if (preg_match('/^([\p{L}\p{N} _\\*\\$\\.@-])+$/iu', $foundFilter)) { // \p{L} matches any Unicode letter
|
if (preg_match('/^([\p{L}\p{N} _\\*\\$\\.:@-])+$/iu', $foundFilter)) { // \p{L} matches any Unicode letter
|
||||||
$this->filters[strtolower($this->attrArray[$i])] = $foundFilter;
|
$this->filters[strtolower($this->attrArray[$i])] = $foundFilter;
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Reference in New Issue