Wrong page argument
kiamlaluno - July 27, 2008 - 17:44
| Project: | Teleport |
| Version: | 6.x-1.0 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | incidentist |
| Status: | closed |
Jump to:
Description
In the hook_menu(), there is a reference to the wrong page argument.
These code lines cause the page callback to get 'title' like argument, which I guess it is not the desired thing:
<?php
$items['teleport/autocomplete/title/%menu_tail'] = array(
'title' => t('Autocomplete title'),
'page callback' => '_teleport_autocomplete_title',
'page arguments' => array(2),
'access arguments' => array('use teleport'),
'type' => MENU_CALLBACK,
);
?>
#1
#2
Automatically closed -- issue fixed for two weeks with no activity.