Hi Alex/Adrian/whoever reads this =)
There seems to be a bug in /admin/Links/Tools.pm, line 914.
my $reason = Links::send_email('link_rejected.eml', { %$user, %$link }, { get_body => 1 });
If the user doesn't exist from this line:
..then you get a "Can't call as a HASH" error, cos the user doesn't exist - thus hashref doesn't exist =)
I only came across this randomly when fixing up a problem on a clients site, and it turned out he had a user that didn't exist - but had a record in the validation queue =)
Anyway, just FYI
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates
There seems to be a bug in /admin/Links/Tools.pm, line 914.
Code:
# Load reason before setting the Add_Date/Mod_Date to today. my $reason = Links::send_email('link_rejected.eml', { %$user, %$link }, { get_body => 1 });
If the user doesn't exist from this line:
Code:
my $user = $user_db->get($link->{LinkOwner}) || {};..then you get a "Can't call as a HASH" error, cos the user doesn't exist - thus hashref doesn't exist =)
I only came across this randomly when fixing up a problem on a clients site, and it turned out he had a user that didn't exist - but had a record in the validation queue =)
Anyway, just FYI
Cheers
Andy (mod)
andy@ultranerds.co.uk
IMPORTANT: I've now moved to ultranerds.co.uk, and the .com will no longer work!
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package (plugins total "value" $3,325 & rising, for just $350)| GLinks ULTRA Package PRO (plugins total "value" $5,625 & rising, for just $500)
Support Forum | Links SQL Plugins | DMOZ Dumps | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
Compare our different Plugin packages *new* Free CSS Templates

