Date stamp appears for nodes that shouldn't display author info

Todd Nienkerk - January 25, 2009 - 15:55
Project:Author Taxonomy
Version:5.x-1.2
Component:Code
Category:bug report
Priority:normal
Assigned:Todd Nienkerk
Status:closed
Description

See #350546: Selectable Content Types for Author Taxonomy (comments #5 and #6) for the original report from saccard. Here's a summary:

I have tested the new release on my test site (drupal 5.14 with author taxonomy 5.1.2). But the date stamp from author taxonomy ist still visible on all pages, regardless of the content type of the page. The category which is used by Author taxonomy belongs only to one content type and the author's name is correctly displayd only on the pages of this content type.

[...]

okay, this little modifications solves the problem (on my test site).
in author_taxonomy.module I changed line 275 from

if ($show_timestamp) {

to

if ($show_timestamp && !empty($author_names)) {

#1

Todd Nienkerk - February 11, 2009 - 10:33
Assigned to:Anonymous» Todd Nienkerk
Status:active» fixed

Resolved in 5.x-1.3.

#2

System Message - February 25, 2009 - 10:40
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.