- Timestamp:
- 2011/10/28 18:58:18 (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_11-dev/data/class/helper/SC_Helper_Purchase.php
r21259 r21302 431 431 } 432 432 433 if (Net_UserAgent_Mobile::isMobile() 434 && in_array('email', $keys)) { 433 if ((SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE) 434 && in_array('email', $keys) 435 ) { 435 436 $email_mobile = $objCustomer->getValue('email_mobile'); 436 437 if (empty($email_mobile)) { … … 1060 1061 function sendOrderMail($orderId) { 1061 1062 $mailHelper = new SC_Helper_Mail_Ex(); 1062 $mailHelper->sfSendOrderMail($orderId, 1063 SC_MobileUserAgent_Ex::isMobile() ? 2 : 1); 1063 $template_id = 1064 SC_Display_Ex::detectDevice() == DEVICE_TYPE_MOBILE ? 2 : 1; 1065 $mailHelper->sfSendOrderMail($orderId, $template_id); 1064 1066 } 1065 1067
Note: See TracChangeset
for help on using the changeset viewer.
