Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Modify.cgi Links 2.1 ???????

Quote Reply
Modify.cgi Links 2.1 ???????
I've got a weird problem I can't figure out.

I upgraded to 2.1 yesterday and my modify is doing some strange things.

If a user registered after the upgrade they receive an error "

Sorry, but you do have any program listings to modify. "

but if it is a user that registered before the upgrade the modify forms are displayed as expected.

Any ideas would be appreciated, I've looked at everything I can think of.

Thanks

Regards,
Clueless

Quote Reply
Re: [Clueless] Modify.cgi Links 2.1 ??????? In reply to
I Figured it out.......



sub _list_owned_links {

# --------------------------------------------------------

# Display a list of links the user owns.

#

my $link_db = $DB->table('Links');

my $mh = $IN->param('mh') || 25;

my $nh = $IN->param('nh') || 1;

$link_db->select_options ("LIMIT " . (($nh-1)*$mh) . ",$mh");

my $sth = $link_db->select ( { LinkOwner => $USER->{Username}, isValidated => 'Yes' });

1 of the hacks I forgot about.

Thanks

Regards,
Clueless

Last edited by:

Clueless: Apr 10, 2002, 4:47 PM