Hi,
This is a bug, get() works different with Relations, then Tables. You need to do:
my $sth = $ed_db->select ( { 'Editors.Username' => $user } );
my $editor_info = $sth->fetchrow_hashref;
return $editor_info;
You need 'Editors.Username' instead of 'Username' as they are both called Username.
Cheers,
Alex
--
Gossamer Threads Inc.
This is a bug, get() works different with Relations, then Tables. You need to do:
my $sth = $ed_db->select ( { 'Editors.Username' => $user } );
my $editor_info = $sth->fetchrow_hashref;
return $editor_info;
You need 'Editors.Username' instead of 'Username' as they are both called Username.
Cheers,
Alex
--
Gossamer Threads Inc.