mirror of
				https://gitlab.com/comunic/comunicapiv3
				synced 2025-11-04 09:34:04 +00:00 
			
		
		
		
	Fix bad check
This commit is contained in:
		@@ -22,7 +22,7 @@ pub fn create(r: &mut HttpRequestHandler) -> RequestResult {
 | 
			
		||||
 | 
			
		||||
    let (content, image) = if r.has_file("image") {
 | 
			
		||||
        (
 | 
			
		||||
            remove_html_nodes(&r.post_string("content")?),
 | 
			
		||||
            remove_html_nodes(&r.post_string_opt("content", 0, false)?),
 | 
			
		||||
            Some(r.save_post_image("image", PATH_COMMENTS_IMAGES, 700, 700)?)
 | 
			
		||||
        )
 | 
			
		||||
    } else {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user