In hook_menu(),

  $items['admin/store/settings/quotes/methods/ups'] = array(
    'title' => 'UPS',
    'page' => 'drupal_get_form',
    'page arguments' => array('uc_ups_admin_settings'),
    'access arguments' => array('configure quotes'),
    'type' => MENU_LOCAL_TASK,
    'file' => 'uc_ups.admin.inc',
  );

The 'page' key should actually be 'page callback'. See http://api.drupal.org/api/function/hook_menu . The default for 'page callback' is 'drupal_get_form', so no error is currently generated.

CommentFileSizeAuthor
uc_ups.module.page_.patch440 bytestr

Comments

tr’s picture

Status: Active » Needs review
Island Usurper’s picture

Status: Needs review » Fixed

That's kind of funny that the one function that would still work is the one we were using.

Thanks again, TR. Committed.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.