Closed (fixed)
Project:
Bean (for Drupal 7)
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2013 at 15:51 UTC
Updated:
26 May 2013 at 19:31 UTC
Jump to comment: Most recent file
Comments
Comment #1
k.minkov commentedComment #2
k.minkov commentedComment #3
k.minkov commentedComment #4
k.minkov commentedComment #5
saltednutShouldn't we only do the array assignment inside
if ($bean->save()) {}to make sure this is complete?Comment #6
k.minkov commentedThis will not change anything actually, because in bean_form_validate there is an assignment already:
which assigns NULL when adding bean and the bean object itself on edit.
So the 'bean' element of $form_state['values'] is already set at this point.
Comment #7
saltednutAh duh - okay, this looks good to me.
Comment #8
saltednuthttp://drupalcode.org/project/bean.git/commit/5c3c3ad