Download & Extend

Typo in hook_menu prevents author type editing

Project:Bibliography Module
Version:6.x-1.1
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

Hi,
in biblio.module it must be

  $items['admin/settings/biblio/author/type/%/edit'] = array(
  ...
    'page arguments' => array('biblio_admin_author_types_form_edit', 'edit', 5),
...
  );

with the 5 at the end instead of the currently used "6". Otherwise the title field at admin/settings/biblio/author/type/nn/edit will be empty.

I guess there's also a little type in biblio_admin_author_types_form in

SELECT * FROM {biblio_contributor_type_data WHERE...

where the curly bracket is not closed. However, this seems to have no effect, so I'm not sure if it's important.

Comments

#1

Status:active» fixed

Thanks, Fixed.

Ron.

#2

Status:fixed» closed (fixed)

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

nobody click here