Download & Extend

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

Project:Pdfview
Version:master
Component:Code
Category:bug report
Priority:normal
Assigned:Unassigned
Status:needs work

Issue Summary

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...

Comments

#1

AttachmentSize
pdfview-253182.patch 693 bytes

#2

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

nobody click here