Compare commits
No commits in common. "d57a4c63e0a4b7f2d1f75b5a72b7ca0e73529f8a" and "ed8e1773c477d07097cb17caa9dd5aeab6bc3c96" have entirely different histories.
d57a4c63e0
...
ed8e1773c4
@ -27,7 +27,7 @@ class AddUserCommand extends Command
|
||||
$user->setActive(true);
|
||||
$user->setCreatedDate(new DateTime());
|
||||
|
||||
if ($input->hasArgument('type') && $input->getArgument('type') !== null) {
|
||||
if ($input->hasArgument('type')) {
|
||||
$user->setType($input->getArgument('type'));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user