diff --git a/app/Console/Commands/ConfirmUser.php b/app/Console/Commands/ConfirmUser.php index 1d6e64e..4a72c21 100644 --- a/app/Console/Commands/ConfirmUser.php +++ b/app/Console/Commands/ConfirmUser.php @@ -41,7 +41,7 @@ class ConfirmUser extends Command $u = User::resolve($this->argument('user')); $un=''; - if ($this->hasOption('undo')) { + if ($this->option('undo')) { $u->update(['confirmed' => false]); $un='un'; } else {