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