[drupal-devel] Use of array2object and unserialize
8 Mar
2005
8 Mar
'05
9:24 a.m.
When using the array2object function and attemping to serialize then unserialize() it you will get a stdClass error. Probably because serialize adds stdClass() information on to the string. This means using: $pass_array = unserialize($edit['pass_array']); Will not work in PHP5 and possibly later versions of PHP4. Using this syntax: $pass_array = unserialize($edit->pass_array); This usage I found in the ecommerce product.module and will send in a patch later. Carl McDade
7775
Age (days ago)
7775
Last active (days ago)
0 comments
1 participants
participants (1)
-
Carl McDade