Повідомлення "Mail template for ec_mail_shipping_notification could not be found!"

В Drupal 5.x використовується модуль e-Commerce 5.3.4. На сторінці керування транзакціями http://mysite/admin/store/transaction для заданої транзакції необхідно повідомити замовнику про доставку продукції. Виникає помилка "Mail template for ec_mail_shipping_notification could not be found!".
На http://drupal.org/node/162512 запропоновано в одній з стрічок поміняти MAILVAR_SHIP_NOTICE на ECMAIL_TYPE_SHIP_NOTICE для старшої версії. Для версії e-Commerce 5.3.4 треба зробити таку поправку до модуля shipping:
function shipping_menu($may_cache) {

- 'callback arguments' => array('store_transaction_mail_form', arg(4), t('Shipping notification'), MAILVAR_SHIP_NOTICE),
+ 'callback arguments' => array('store_transaction_mail_form', arg(4), t('Shipping notification'), ECMAIL_TYPE_SHIP_NOTICE),

Працює!