mirror of
				https://github.com/firefly-iii/firefly-iii.git
				synced 2025-10-31 10:47:00 +00:00 
			
		
		
		
	Fix rule title.
This commit is contained in:
		| @@ -65,9 +65,9 @@ class RuleFormRequest extends Request | ||||
|         // some actions require text: | ||||
|         $contextActions = join(',', config('firefly.rule-actions-text')); | ||||
|  | ||||
|         $titleRule = 'required|between:1,100|uniqueObjectForUser:rule_groups,title'; | ||||
|         $titleRule = 'required|between:1,100|uniqueObjectForUser:rules,title'; | ||||
|         if (!is_null($repository->find(intval($this->get('id')))->id)) { | ||||
|             $titleRule = 'required|between:1,100|uniqueObjectForUser:rule_groups,title,' . intval($this->get('id')); | ||||
|             $titleRule = 'required|between:1,100|uniqueObjectForUser:rules,title,' . intval($this->get('id')); | ||||
|         } | ||||
|  | ||||
|         $rules = [ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user