Commit c2bcd53b authored by makangus's avatar makangus Committed by bobbyaldol

Anonymous user warning removed

parent 124bac27
...@@ -47,7 +47,7 @@ function order_example_info_page($form, &$form_state) { ...@@ -47,7 +47,7 @@ function order_example_info_page($form, &$form_state) {
'#title' => t('User for whom the order will be created'), '#title' => t('User for whom the order will be created'),
'#autocomplete_path' => 'user/autocomplete', '#autocomplete_path' => 'user/autocomplete',
'#description' => t('This technique requires a user.'), '#description' => t('This technique requires a user.'),
'#default_value' => $GLOBALS['user']->name, '#default_value' => format_username($GLOBALS['user']),
); );
$form['order_creation']['product_to_add'] = array( $form['order_creation']['product_to_add'] = array(
'#type' => 'textfield', '#type' => 'textfield',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment