fix encoding also for description and location
(cherry picked from commit f37387de80)
			
			
This commit is contained in:
		| @@ -381,12 +381,12 @@ class Channel_calendar extends \Zotlabs\Web\Controller { | |||||||
| 						'end' => $end, | 						'end' => $end, | ||||||
| 						'drop' => $drop, | 						'drop' => $drop, | ||||||
| 						'allDay' => (($rr['adjust']) ? 0 : 1), | 						'allDay' => (($rr['adjust']) ? 0 : 1), | ||||||
| 						'title' => html_entity_decode($rr['summary'],ENT_COMPAT,'UTF-8'),  | 						'title' => html_entity_decode($rr['summary'], ENT_COMPAT, 'UTF-8'), | ||||||
| 						'editable' => $edit ? true : false, | 						'editable' => $edit ? true : false, | ||||||
| 						'item' => $rr, | 						'item' => $rr, | ||||||
| 						'plink' => [$rr['plink'], t('Link to source')], | 						'plink' => [$rr['plink'], t('Link to source')], | ||||||
| 						'description' => htmlentities($rr['description'], ENT_COMPAT, 'UTF-8', false), | 						'description' => html_entity_decode($rr['description'], ENT_COMPAT, 'UTF-8'), | ||||||
| 						'location' => htmlentities($rr['location'], ENT_COMPAT, 'UTF-8', false), | 						'location' => html_entity_decode($rr['location'], ENT_COMPAT, 'UTF-8'), | ||||||
| 						'allow_cid' => expand_acl($rr['allow_cid']), | 						'allow_cid' => expand_acl($rr['allow_cid']), | ||||||
| 						'allow_gid' => expand_acl($rr['allow_gid']), | 						'allow_gid' => expand_acl($rr['allow_gid']), | ||||||
| 						'deny_cid' => expand_acl($rr['deny_cid']), | 						'deny_cid' => expand_acl($rr['deny_cid']), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user