From ddcac1d1eb3151db7bbad8010f7ad30bc1375dc7 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Thu, 8 Mar 2012 07:50:51 -0600 Subject: [PATCH] use have_option() --- scripts/testuser.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/testuser.php b/scripts/testuser.php index 028f58c0bb..221f962842 100644 --- a/scripts/testuser.php +++ b/scripts/testuser.php @@ -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(); -- 2.39.5