use have_option()
This commit is contained in:
parent
b35fdf13c1
commit
ddcac1d1eb
@ -85,7 +85,7 @@ try {
|
|||||||
if (empty($filter)) {
|
if (empty($filter)) {
|
||||||
throw new Exception(_("No spam filter."));
|
throw new Exception(_("No spam filter."));
|
||||||
}
|
}
|
||||||
if (get_option('a', 'all')) {
|
if (have_option('a', 'all')) {
|
||||||
testAllUsers($filter);
|
testAllUsers($filter);
|
||||||
} else {
|
} else {
|
||||||
$user = getUser();
|
$user = getUser();
|
||||||
|
Loading…
Reference in New Issue
Block a user