Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2682274
D25581.1734652358.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Award Token
Flag For Later
Advanced/Developer...
View Handle
View Hovercard
Size
574 B
Referenced Files
None
Subscribers
None
D25581.1734652358.diff
View Options
diff --git a/src/applications/nuance/management/NuanceManagementWorkflow.php b/src/applications/nuance/management/NuanceManagementWorkflow.php
--- a/src/applications/nuance/management/NuanceManagementWorkflow.php
+++ b/src/applications/nuance/management/NuanceManagementWorkflow.php
@@ -66,7 +66,7 @@
protected function loadITem(PhutilArgumentParser $argv, $key) {
$item = $argv->getArg($key);
- if (!strlen($item)) {
+ if (!phutil_nonempty_string($item)) {
throw new PhutilArgumentUsageException(
pht(
'Specify a item with %s.',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Dec 19, 23:52 (51 m, 25 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1016242
Default Alt Text
D25581.1734652358.diff (574 B)
Attached To
Mode
D25581: Fix PHP 8.1 "strlen(null)" exception for "/bin/nuance update" without parameter
Attached
Detach File
Event Timeline
Log In to Comment