mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-11-04 09:34:04 +00:00 
			
		
		
		
	Fix potential source of issues
This commit is contained in:
		@@ -705,7 +705,7 @@ pub fn update(u: UpdateInfo) -> ResultBoxError<()> {
 | 
			
		||||
 | 
			
		||||
    // Additional conditions
 | 
			
		||||
    if let Some(custom_where) = u.custom_where {
 | 
			
		||||
        conditions = format!("{} AND ({})", conditions, custom_where);
 | 
			
		||||
        conditions = format!("({}) AND ({})", conditions, custom_where);
 | 
			
		||||
 | 
			
		||||
        u.custom_where_args.iter().for_each(|f| values.push(f))
 | 
			
		||||
    }
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user