Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F2898960
D25580.1737258680.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
582 B
Referenced Files
None
Subscribers
None
D25580.1737258680.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
@@ -5,7 +5,7 @@
protected function loadSource(PhutilArgumentParser $argv, $key) {
$source = $argv->getArg($key);
- if (!strlen($source)) {
+ if (!phutil_nonempty_string($source)) {
throw new PhutilArgumentUsageException(
pht(
'Specify a source with %s.',
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sun, Jan 19, 03:51 (3 h, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1120991
Default Alt Text
D25580.1737258680.diff (582 B)
Attached To
Mode
D25580: Fix PHP 8.1 "strlen(null)" exception for "/bin/nuance import" without parameter
Attached
Detach File
Event Timeline
Log In to Comment