From 3ca1e6d197df7ca56ac852cb5999efac9bd0ebc5 Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 26 Oct 2023 08:09:16 +0200 Subject: [PATCH] Remove rule title --- app/Repositories/Rule/RuleRepository.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Repositories/Rule/RuleRepository.php b/app/Repositories/Rule/RuleRepository.php index be0e59f9b4..e34c731cc8 100644 --- a/app/Repositories/Rule/RuleRepository.php +++ b/app/Repositories/Rule/RuleRepository.php @@ -288,7 +288,7 @@ class RuleRepository implements RuleRepositoryInterface $rule->active = array_key_exists('active', $data) ? $data['active'] : true; $rule->strict = array_key_exists('strict', $data) ? $data['strict'] : false; $rule->stop_processing = array_key_exists('stop_processing', $data) ? $data['stop_processing'] : false; - $rule->title = array_key_exists('title', $data) ? $data['title'] : 'Untitled'; + $rule->title = array_key_exists('title', $data) ? $data['title'] : ''; $rule->description = array_key_exists('description', $data) ? $data['description'] : ''; $rule->save(); $rule->refresh();