Closed (fixed)
Project:
Commerce Core
Version:
7.x-1.x-dev
Component:
Order
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Oct 2013 at 10:54 UTC
Updated:
9 Oct 2013 at 19:18 UTC
/**
* Implements hook_i18n_string_list().
*/
function commerce_order_ui_i18n_string_list($group) {
if ($group == 'commerce') {
// Allow the order creation help text to be translated.
$help = variable_get('commerce_order_help_text', '');
if ($help) {
$strings['commerce']['order']['help']['create'] = $help;
}
return $strings;
}
}
the return must be inside the if
| Comment | File | Size | Author |
|---|---|---|---|
| commerce-order-ui-undefined-index.patch | 500 bytes | iKb |
Comments
Comment #1
rszrama commentedThanks, fixed this. The other implementations looked fine.