]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
use have_option()
authorEvan Prodromou <evan@status.net>
Thu, 8 Mar 2012 13:50:51 +0000 (07:50 -0600)
committerEvan Prodromou <evan@status.net>
Thu, 8 Mar 2012 13:50:51 +0000 (07:50 -0600)
scripts/testuser.php

index 028f58c0bb0a41e13807d93502172ce29db7bf55..221f9628423cc26e693319d548ce8f5dee2833f3 100644 (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();