Hi,
What are the steps required to reproduce the bug?
call taxonomy_save_vocabulary() ..
This problem is near drupal_write_record('vocabulary', $edit). taxonomy_save_vocabulary takes array ($edit) as input and passes this to drupal_write_record.
and drupal_write_record modifies $edit to an object.
So a possible fix is to use,
drupal_write_record('vocabulary', $edit)
$edit = (array)$edit;
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | taxonomy.patch | 1.65 KB | naxoc |
Comments
Comment #1
naxoc commentedIt also occurs in taxonomy_save_term(). I attached a patch :)
Comment #2
naxoc commentedI haven't seen any problems with this since sometime in June. The patch I posted is not relevant any more, so I am closing this.