feat: derive autoresponder schedule from backend
This commit is contained in:
@@ -5,7 +5,7 @@ return static function (AppContext $ctx): void {
|
||||
$id = Http::isPost() ? $ctx->post('id') : $ctx->query('id');
|
||||
$rule = $ctx->rules->find($ctx->daUser->username(), $id);
|
||||
if ($rule === null) {
|
||||
$ctx->render('Edit autoresponder', '<div class="alert alert-err">Rule not found</div>');
|
||||
$ctx->render('Edit autoresponder', '<div class="alert alert-err">' . AppContext::e($ctx->t('Rule not found')) . '</div>');
|
||||
return;
|
||||
}
|
||||
$errors = [];
|
||||
|
||||
Reference in New Issue
Block a user