diff --git a/src/applications/herald/controller/rule/HeraldRuleController.php b/src/applications/herald/controller/rule/HeraldRuleController.php index 789e5d478b..67de87388d 100644 --- a/src/applications/herald/controller/rule/HeraldRuleController.php +++ b/src/applications/herald/controller/rule/HeraldRuleController.php @@ -376,7 +376,7 @@ class HeraldRuleController extends HeraldController { } $all_rules = id(new HeraldRule())->loadAllWhere( - 'authorPHID = %d AND contentType = %s', + 'authorPHID = %s AND contentType = %s', $rule->getAuthorPHID(), $rule->getContentType()); $all_rules = mpull($all_rules, 'getName', 'getID');