Closed (fixed)
Project:
Custom Publishing Options
Version:
7.x-1.0-rc1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
11 Nov 2011 at 16:58 UTC
Updated:
28 Nov 2011 at 13:20 UTC
When I install this plug in I immediately get this error. Running the most recent version of Drupal
Notice: Undefined variable: forms in custom_pub_forms() (line 85 of /mnt/stor2-wc2-dfw1/440293/543906/www.mydomainname.com/web/content/sites/all/modules/custom_pub/custom_pub...).
Comments
Comment #1
parkej60 commentedI added $forms = array(); at line 73 and it seems to have fixed the problem. Please update.
Comment #2
troyer commentedfixed it for me, though I don't know if it has repercussions.
Comment #3
troyer commentedDid fix the error message but not the issue. State of the checkbox for the custom publishing option doesn't get saved/restored. So in the current state the module isn't functioning.
Comment #4
troyer commentedError message is fixed in the dev-version, Commit (2011/08/10 22:02) "#1244856 by carl.brown - fixed E_NOTICE error in hook_forms()". SHA: 2d58c982d1118471e2ea0512a9c0e01e8ca05b5c