By tawebworks on
warning: Missing argument 2 for phptemplate_menu_item_link() in XXX/html/sites/all/themes/litejazz/template.php on line 92.
Although I made some changes to template.php a few days ago, I was doing nothing with it today. Everything was going along fine... then I saved a configuration that threw this warning.
Can any Drupal hero help?
Comments
_
It would help if you would post the function that contains the offending line from the template.php file.
function
function phptemplate_menu_item_link($item, $link_item) {
if ($item['path'] == '') {
$attributes['title'] = $link['description'];
return ''. $item['title'] .'';
}
else {
return l($item['title'], $link_item['path'], !empty($item['description']) ? array('title' => $item['description']) : array(), isset($item['query']) ? $item['query'] : NULL);
}
}
which version u are
which version u are using?
for ver 5.x
_menu_item_link($item, $link_item)
for ver 6.x
_menu_item_link($item)
6.x. ...And that fixed
6.x.
...And that fixed it.
THANK YOU!!