Config array serialized

This commit is contained in:
2016-08-14 13:38:57 +02:00
parent 4727ce530f
commit 1e30ba334f
2 changed files with 4 additions and 4 deletions

View File

@ -85,7 +85,7 @@ class StatifyBlacklist
get_option('statify-blacklist'),
array(
'active_referer' => 0,
'referer' => ''
'referer' => array()
)
);
}
@ -112,7 +112,7 @@ class StatifyBlacklist
$referer = implode('.', $referer);
/* Get blacklist */
$blacklist = explode("\r\n", self::$_options['referer']);
$blacklist = self::$_options['referer'];
/* Check blacklist */
return in_array($referer, $blacklist);