Page MenuHomePhorge

D25595.1734737004.diff
No OneTemporary

D25595.1734737004.diff

diff --git a/src/applications/files/management/PhabricatorFilesManagementEncodeWorkflow.php b/src/applications/files/management/PhabricatorFilesManagementEncodeWorkflow.php
--- a/src/applications/files/management/PhabricatorFilesManagementEncodeWorkflow.php
+++ b/src/applications/files/management/PhabricatorFilesManagementEncodeWorkflow.php
@@ -42,7 +42,7 @@
$format_list = implode(', ', $format_list);
$format_key = $args->getArg('as');
- if (!strlen($format_key)) {
+ if (!phutil_nonempty_string($format_key)) {
throw new PhutilArgumentUsageException(
pht(
'Use --as <format> to select a target encoding format. Available '.

File Metadata

Mime Type
text/plain
Expires
Fri, Dec 20, 23:23 (14 h, 34 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1019029
Default Alt Text
D25595.1734737004.diff (675 B)

Event Timeline