mirror of
https://github.com/processwire/processwire.git
synced 2025-08-12 09:44:38 +02:00
Fix issue processwire/processwire-issues#1270
This commit is contained in:
@@ -187,14 +187,13 @@ abstract class Selector extends WireData {
|
||||
*
|
||||
*/
|
||||
public function __construct($field, $value) {
|
||||
|
||||
$this->setField($field);
|
||||
$this->setValue($value);
|
||||
$this->set('not', false);
|
||||
$this->set('not', false);
|
||||
$this->set('group', null); // group name identified with 'group_name@' before a field name
|
||||
$this->set('quote', ''); // if $value in quotes, this contains either: ', ", [, {, or (, indicating quote type (set by Selectors class)
|
||||
$this->set('forceMatch', null); // boolean true to force match, false to force non-match
|
||||
parent::set('altOperators', array()); // optional alternate operators
|
||||
$this->setField($field);
|
||||
$this->setValue($value);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user