mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 02:36:28 +00:00 
			
		
		
		
	Added check on title and improved the check for description field
Signed-off-by: Maxco10 <mmagnani93@gmail.com>
This commit is contained in:
		| @@ -288,8 +288,8 @@ 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           = $data['title']; | ||||
|         $rule->description     = $data['description']; | ||||
|         $rule->title           = array_key_exists('title', $data) ? $data['title'] : "untitle"; | ||||
|         $rule->description     = array_key_exists('description', $data) ? $data['description'] : ""; | ||||
|         $rule->save(); | ||||
|         $rule->refresh(); | ||||
| 
 | ||||
|   | ||||
		Reference in New Issue
	
	Block a user