cart icon indicating copy to clipboard operation
cart copied to clipboard

wrong hook class in sendSellerMail

Open matin73 opened this issue 5 years ago • 0 comments

there is some issue with pdf attachment in version for typo3 9 for seller. In file typo3conf/ext/cart/Classes/Service/MailHandler.php class for hook is wrong:

if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cart']['getMailAttachmentsHook']) { foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cart']['getMailAttachmentsHook'] as $_classRef) {

it must be if ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cart']['MailAttachmentsHook']) { foreach ($GLOBALS['TYPO3_CONF_VARS']['EXTCONF']['cart']['MailAttachmentsHook'] as $_classRef) {

matin73 avatar Sep 03 '20 07:09 matin73