Download & Extend

MLA style looks for incorrect year field

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

Issue Summary

Hello,

This is minor, but in the MLA style file, biblio_style_mla.inc, I think there's an incorrect reference to 'year' data. The result is that when viewing a list or other output using MLA style, entries do not show years.

Here's the original, starting on line 467:

      if (!empty($node->year)) {     // year
        $output .= ", ".$node->year;
      }

And the fix:

      if (!empty($node->biblio_year)) {     // year
        $output .= ", ".$node->biblio_year;
      }

Comments

#1

Status:active» fixed

You are quite right, thank's for pointing that out.

I just committed the fix, the -dev and releases subsequent to 6.x-1.5 will contain it.

(http://drupal.org/cvs?commit=235440)

Ron.

#2

Status:fixed» closed (fixed)

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

nobody click here