diff options
Diffstat (limited to 'modules-available/locationinfo/page.inc.php')
-rw-r--r-- | modules-available/locationinfo/page.inc.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/modules-available/locationinfo/page.inc.php b/modules-available/locationinfo/page.inc.php index 7e19bfbc..1a58131f 100644 --- a/modules-available/locationinfo/page.inc.php +++ b/modules-available/locationinfo/page.inc.php @@ -999,13 +999,7 @@ class Page_LocationInfo extends Page } } - if (empty($config['blacklist']) && $config['whitelist'] === '*' && !empty($config['urllist'])) { - if ($config['iswhitelist']) { - $config['whitelist'] = str_replace(' ', "\n", $config['urllist']); - } else { - $config['blacklist'] = str_replace(' ', "\n", $config['urllist']); - } - } + LocationInfo::cleanupUrlFilter($config); Render::addTemplate('page-config-panel-url', array( 'new' => $id === 'new', |