"Missing argument 3 for pdfview_link()" on page without nodes

ibot - April 30, 2008 - 16:48
Project:Pdfview
Version:HEAD
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work
Description

On pages without nodes (category-overviews for example) there comes that warning:

warning: Missing argument 3 for pdfview_link() in (..)/sites/all/modules/pdfview/pdfview.module on line 42.

After the patch the "Download PDF" link only appears on full-node-view which makes more sense to me...

#1

ibot - April 30, 2008 - 16:49
AttachmentSize
pdfview-253182.patch 693 bytes

#2

leafish_paul - May 14, 2008 - 21:19

Fixes the problem for me (5.x-1.1).

 
 

Drupal is a registered trademark of Dries Buytaert.