use have_option()

This commit is contained in:
Evan Prodromou 2012-03-08 07:50:51 -06:00
parent b35fdf13c1
commit ddcac1d1eb

View File

@ -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();