浏览代码

Removed cannotBeEmpty() condition on persist_filters

The default value of this setting is false. If you actually put

    persist_filters: false

in your YML file you get an error due to the ``cannotBeEmpty()`` condition, which I think is not needed here.
Christian Morgan 12 年之前
父节点
当前提交
e1b4cbf138
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      DependencyInjection/Configuration.php

+ 1 - 1
DependencyInjection/Configuration.php

@@ -170,7 +170,7 @@ class Configuration implements ConfigurationInterface
                     ->end()
                 ->end()
 
-                ->scalarNode('persist_filters')->defaultValue(false)->cannotBeEmpty()->end()
+                ->scalarNode('persist_filters')->defaultValue(false)->end()
 
             ->end()
         ->end();