From: Chris W. <ch...@cw...> - 2003-04-21 22:02:08
|
Nick Sutterer wrote: > the SPOPS relation manual reads the following: > > ${alias}_add( $id | $object | \@id_list | \@object_list ) - Adds links to > the related objects in $object > > however, when i try to _add($object) an object this way (passing the > reference) i get an error, because SPOPS doesn't dereference the object > reference and doesn't call ->id(). > when i do this myself _add( $object->id() ), everything works fine. > > is the manual wrong? Yes, but the code will catch up with the manual in the next release. Thanks for the report. Chris -- Chris Winters (ch...@cw...) Building enterprise-capable snack solutions since 1988. |