----------------------------------------
* CRM-16614: Email Invoice: 500 Error in AJAX response
https://issues.civicrm.org/jira/browse/CRM-16614
*/
public function buildQuickForm() {
$session = CRM_Core_Session::singleton();
+ $this->preventAjaxSubmit();
if (CRM_Core_Permission::check('administer CiviCRM')) {
$this->assign('isAdmin', 1);
}
* Name of file which is in pdf format
*/
static public function putFile($html) {
- require_once "packages/dompdf/dompdf_config.inc.php";
- spl_autoload_register('DOMPDF_autoload');
+ require_once "vendor/dompdf/dompdf/dompdf_config.inc.php";
$doc = new DOMPDF();
$doc->load_html($html);
$doc->render();