Closed (fixed)
Project:
View Unpublished
Version:
7.x-1.1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Reporter:
Created:
20 Jul 2012 at 18:07 UTC
Updated:
11 Apr 2014 at 21:12 UTC
Jump to comment: Most recent
PHP says: "Notice: Undefined variable: substitutions in view_unpublished_views_query_substitutions() (line 110 of /home/devserv/public_html/d7/sites/mysite/modules/view_unpublished/view_unpublished.module)."
Variable $substitutions should be initialised before looping through node types. Here's a simple patch.
| Comment | File | Size | Author |
|---|---|---|---|
| view_unpublished-7.x-1.1-Undefined_variable_line_109.patch | 401 bytes | mesr01 |
Comments
Comment #1
entendu commentedAgreed. Pushing to dev.