Skip to content

Commit e84ae12

Browse files
committed
Merge pull request #39 from nicam/master
FIX issue when no ip's are set
2 parents 8d17485 + 0a0cc48 commit e84ae12

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

DependencyInjection/LiipCacheControlExtension.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@ public function load(array $configs, ContainerBuilder $container)
3434
foreach ($config['rules'] as $cache) {
3535
// domain is depreciated and will be removed in future
3636
$host = is_null($cache['host']) && $cache['domain'] ? $cache['domain'] : $cache['host'];
37+
$cache['ips'] = (empty($cache['ips'])) ? null : $cache['ips'];
3738

3839
$matcher = $this->createRequestMatcher(
3940
$container,

0 commit comments

Comments
 (0)