mirror of
https://github.com/processwire/processwire.git
synced 2025-08-15 11:14:12 +02:00
Fix issue processwire/processwire-issues#1357
This commit is contained in:
@@ -403,7 +403,8 @@ class FieldtypeOptions extends FieldtypeMulti implements Module {
|
|||||||
$info['options'] = array();
|
$info['options'] = array();
|
||||||
$info['operators'] = array('=', '!=', '@=', '@!=', '=""', '!=""');
|
$info['operators'] = array('=', '!=', '@=', '@!=', '=""', '!=""');
|
||||||
foreach($this->manager->getOptions($field) as $option) {
|
foreach($this->manager->getOptions($field) as $option) {
|
||||||
$info['options'][$option->id] = $option->title;
|
/** @var SelectableOption $option */
|
||||||
|
$info['options'][$option->id] = $option->getTitle();
|
||||||
}
|
}
|
||||||
$subfields = array(
|
$subfields = array(
|
||||||
'title' => array(
|
'title' => array(
|
||||||
|
Reference in New Issue
Block a user