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.

Comments

entendu’s picture

Issue summary: View changes
Status: Needs review » Closed (fixed)

Agreed. Pushing to dev.

  • Commit e9df1d3 on 7.x-1.x by entendu:
    Issue #1694874 by mesr01: Error when no content type is created (...