Page MenuHomePhorge

D25582.1737793328.diff
No OneTemporary

D25582.1737793328.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
Sat, Jan 25, 08:22 (6 d, 6 h ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1147823
Default Alt Text
D25582.1737793328.diff (668 B)

Event Timeline