Skip to content

Commit

Permalink
[FrameworkBundle] Check if templating is enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
jakzal committed Feb 17, 2015
1 parent f44eef4 commit c75b276
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -56,7 +56,8 @@ public function getConfigTreeBuilder()
->validate()
->ifTrue(function ($v) { return !isset($v['assets']); })
->then(function ($v) {
if (!$v['templating']['assets_version']
if (!isset($v['templating'])
|| !$v['templating']['assets_version']
&& !count($v['templating']['assets_base_urls']['http'])
&& !count($v['templating']['assets_base_urls']['ssl'])
&& !count($v['templating']['packages'])
Expand Down

0 comments on commit c75b276

Please sign in to comment.