mirror of
https://github.com/processwire/processwire.git
synced 2025-08-10 08:44:46 +02:00
Fix issue processwire/processwire-issues#1687
This commit is contained in:
@@ -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) {
|
||||||
|
Reference in New Issue
Block a user