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;
CommentFileSizeAuthor
#1 taxonomy.patch1.65 KBnaxoc

Comments

naxoc’s picture

StatusFileSize
new1.65 KB

It also occurs in taxonomy_save_term(). I attached a patch :)

naxoc’s picture

Status: Active » Closed (fixed)

I 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.