1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-10 08:44:46 +02:00
This commit is contained in:
Ryan Cramer
2023-02-14 09:00:21 -05:00
parent a1a72e5ca3
commit ff1ba95e37

View File

@@ -1791,7 +1791,7 @@ class Modules extends WireArray {
// find matching all values in array // find matching all values in array
$keys = $selector; $keys = $selector;
$properties = array_keys($keys); $properties = array_keys($keys);
} if(!ctype_alnum($selector) && Selectors::stringHasOperator($selector)) { } else if(!ctype_alnum($selector) && Selectors::stringHasOperator($selector)) {
// find by selectors // find by selectors
$selectors = new Selectors($selector); $selectors = new Selectors($selector);
if(!$verbose) foreach($selectors as $s) { if(!$verbose) foreach($selectors as $s) {