fixed search api materio settings
This commit is contained in:
parent
82bf36a5eb
commit
9a18821b7e
@ -5,7 +5,7 @@ function materio_search_api_settings(){
|
||||
// dsm($indexes, '$indexes');
|
||||
|
||||
foreach ($indexes as $machine_name => $index) {
|
||||
if($index->status == 1)
|
||||
if($index->enabled == 1)
|
||||
$index_options[$index->machine_name] = $index->name;
|
||||
}
|
||||
|
||||
@ -77,4 +77,4 @@ function materio_search_api_settings(){
|
||||
}
|
||||
|
||||
return system_settings_form($form);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user