Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Nov 2011 at 19:28 UTC
Updated:
30 Nov 2011 at 15:00 UTC
Here's the notice:
Notice: Undefined index: view_mode in bean_form_validate() (line 245 of bean/includes/bean.pages.inc).
Since the user doesn't have access to the view mode form element, the form_state value won't be set. Simple patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| bean_view_mode.patch | 810 bytes | duellj |
Comments
Comment #1
duellj commentedComment #2
indytechcook commentedI fixed it in a different way. Thanks!
http://drupal.org/commitlog/commit/22232/089d5865ad032f01fab41cc6ea59237...