"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
#2
Fixes the problem for me (5.x-1.1).