Hi Andy,
Is this a typing error?:
my $cond = GT::SQL::Condition->new('Message.msg_username','=',$USER->{user_username} =>, 'PMFoldersIDs.folder_id' => '=' => $folder_id);
Edit: Also, I don't think you should need a Condition for this - can't you just put it in the count/select statement?
Is this a typing error?:
my $cond = GT::SQL::Condition->new('Message.msg_username','=',$USER->{user_username} =>, 'PMFoldersIDs.folder_id' => '=' => $folder_id);
Edit: Also, I don't think you should need a Condition for this - can't you just put it in the count/select statement?