Page MenuHomePhorge

D25585.1737335197.diff
No OneTemporary

D25585.1737335197.diff

diff --git a/src/applications/herald/management/HeraldRuleManagementWorkflow.php b/src/applications/herald/management/HeraldRuleManagementWorkflow.php
--- a/src/applications/herald/management/HeraldRuleManagementWorkflow.php
+++ b/src/applications/herald/management/HeraldRuleManagementWorkflow.php
@@ -33,7 +33,7 @@
$viewer = $this->getViewer();
$rule_name = $args->getArg('rule');
- if (!strlen($rule_name)) {
+ if (!phutil_nonempty_string($rule_name)) {
throw new PhutilArgumentUsageException(
pht('Specify a rule to edit with "--rule <id|monogram>".'));
}

File Metadata

Mime Type
text/plain
Expires
Mon, Jan 20, 01:06 (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1130082
Default Alt Text
D25585.1737335197.diff (600 B)

Event Timeline