mirror of
				https://github.com/pierre42100/ComunicAPI
				synced 2025-11-03 19:54:14 +00:00 
			
		
		
		
	Implemented Survey Object
This commit is contained in:
		@@ -528,6 +528,10 @@ class postsController {
 | 
			
		||||
		//Update visibility level
 | 
			
		||||
		$infos['visibility_level'] = $this::VISIBILITY_LEVELS_API[$infos['visibility_level']];
 | 
			
		||||
 | 
			
		||||
		//Turn survey into API entry (if any)
 | 
			
		||||
		if($infos["data_survey"] != null)
 | 
			
		||||
			$infos["data_survey"] = SurveysController::SurveyToAPI($infos["data_survey"]);
 | 
			
		||||
 | 
			
		||||
		//Parse comments if required
 | 
			
		||||
		if(isset($infos['comments'])){
 | 
			
		||||
			if($infos['comments'] != null){
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user