Closed (fixed)
Project:
Ubercart
Version:
6.x-2.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
8 Nov 2009 at 22:14 UTC
Updated:
2 Dec 2009 at 20:50 UTC
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.
| Comment | File | Size | Author |
|---|---|---|---|
| uc_ups.module.page_.patch | 440 bytes | tr |
Comments
Comment #1
tr commentedComment #2
Island Usurper commentedThat's kind of funny that the one function that would still work is the one we were using.
Thanks again, TR. Committed.