|
From: damien l. <da...@ba...> - 2003-03-31 21:43:48
|
On Mon, Mar 31, 2003 at 10:34:57AM -0500, Chris Winters wrote:
> In any case, the fix will be in the next version. The problem is
> this in OI::SPOPS line 102:
>
> my $row = $self->db_select(
> { %{ $p },
> from => OBJECT_KEY_TABLE,
> select => [ 'object_key' ],
> where => 'class = ? AND object_id = ?',
> value => [ ref $self, $self->id ],
> return => 'single' });
>
> See, $self->id is in list context, which means it returns a list
> of your multiple keys rather than concatenating them. Easy to
> fix: just change it to 'scalar( $self->id )' and it should work.
>
yes this does it... also need to add the scalar() call in save_object_key() a few lines up.
thanks
damien
|