Page MenuHomePhorge

D25582.1734699582.diff
No OneTemporary

D25582.1734699582.diff

diff --git a/src/applications/auth/management/PhabricatorAuthManagementUnlimitWorkflow.php b/src/applications/auth/management/PhabricatorAuthManagementUnlimitWorkflow.php
--- a/src/applications/auth/management/PhabricatorAuthManagementUnlimitWorkflow.php
+++ b/src/applications/auth/management/PhabricatorAuthManagementUnlimitWorkflow.php
@@ -27,7 +27,7 @@
public function execute(PhutilArgumentParser $args) {
$username = $args->getArg('user');
- if (!strlen($username)) {
+ if (!phutil_nonempty_string($username)) {
throw new PhutilArgumentUsageException(
pht(
'Use %s to choose a user to reset actions for.', '--user'));

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 12:59 (20 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1018292
Default Alt Text
D25582.1734699582.diff (668 B)

Event Timeline