mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 23:13:15 +00:00
Fix configuration usage
This commit is contained in:
@@ -40,9 +40,7 @@ abstract class AbstractConfigurationPanel implements ConfigurationPanelInterface
|
||||
*/
|
||||
public function saveConfiguration(array $configuration)
|
||||
{
|
||||
$conf = $this->conf->getConfig();
|
||||
$conf['main']['search-engine']['options'] = $configuration;
|
||||
$this->conf->setConfig($conf);
|
||||
$this->conf->set(['main', 'search-engine', 'options'], $configuration);
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
Reference in New Issue
Block a user