mirror of
https://github.com/processwire/processwire.git
synced 2025-08-23 06:44:38 +02:00
Various minor updates. Plus add a $database->isStopword() method and improve error logging in WireDatabasePDOStatement
This commit is contained in:
@@ -913,8 +913,8 @@ class FieldtypeFile extends FieldtypeMulti implements ConfigurableModule {
|
||||
} else if($operator === '!=' && ctype_alnum("$value")) {
|
||||
$operator = '!~='; // ok
|
||||
|
||||
} else if($operator === '~=' || $operator === '!~=' || $operator === '%=' || $operator === '*=') {
|
||||
// ok
|
||||
} else if(Selectors::getSelectorByOperator($operator, 'compareType') & Selector::compareTypeFind) {
|
||||
// ok, text finding operators
|
||||
|
||||
} else {
|
||||
throw new PageFinderSyntaxException("Operator $operator is not supported by $this in selector: $selector");
|
||||
|
Reference in New Issue
Block a user