Page MenuHomePhorge

D25585.1737244255.diff
No OneTemporary

D25585.1737244255.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
Sat, Jan 18, 23:50 (1 h, 33 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1130082
Default Alt Text
D25585.1737244255.diff (600 B)

Event Timeline