Wednesday 10 November 2010 8:38:23 am
Hello, just do the following. It works for me on the last 4.4 :
// Get the owner from another object
$owner = $object->owner();
$next_object->setAttribute('owner_id', $owner->ID);
$next_object->store();
Developer at Open Wide
|