Commit 9904eac9 authored by yched's avatar yched
Browse files

#833992 by fgm - fix missing param callbacks in autocomplete menu item.

parent 8db4f42e
......@@ -11,10 +11,12 @@
*/
function node_reference_menu() {
$items = array();
$items['node_reference/autocomplete'] = array(
$items['node_reference/autocomplete/%/%'] = array(
'title' => 'node_reference autocomplete',
'page callback' => 'node_reference_autocomplete',
'page arguments' => array(2, 3),
'access callback' => 'node_reference_autocomplete_access',
'access arguments' => array(2, 3),
'type' => MENU_CALLBACK,
);
return $items;
......
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