HEX
Server: Apache
System: Linux dev.epsylon.net 3.10.0-1160.144.1.el7.tuxcare.els2.x86_64 #1 SMP Sun Feb 15 11:22:42 UTC 2026 x86_64
User: nexper (1054)
PHP: 8.2.30
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/nexper/public_html/crm/modules/AOS_PDF_Templates/views/view.detail.php
<?php
if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');

require_once('include/MVC/View/views/view.detail.php');

class AOS_PDF_TemplatesViewDetail extends ViewDetail {
	function AOS_PDF_TemplatesViewDetail(){
 		parent::ViewDetail();
 	}
	
	function display(){
		$this->setDecodeHTML();
		parent::display();
	}
	
	function setDecodeHTML(){
		$this->bean->pdfheader = html_entity_decode(str_replace('&nbsp;',' ',$this->bean->pdfheader));
		$this->bean->description = html_entity_decode(str_replace('&nbsp;',' ',$this->bean->description));
		$this->bean->pdffooter = html_entity_decode(str_replace('&nbsp;',' ',$this->bean->pdffooter));
	}
}
?>