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
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

incidentist - July 28, 2008 - 07:46
Assigned to:Anonymous» incidentist
Status:active» fixed

#2

Anonymous (not verified) - August 11, 2008 - 07:53
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.