Hi,
You're missing the change I said to do before the last one <G>
This shouldn't give any errors:
if (!$USER->{Username}) { return ''; }
return { review_count => $DB->table("Reviews")->count( { Review_LinkOwner => $USER->{Username} } ) || 0 };
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!
You're missing the change I said to do before the last one <G>
This shouldn't give any errors:
Code:
sub { if (!$USER->{Username}) { return ''; }
return { review_count => $DB->table("Reviews")->count( { Review_LinkOwner => $USER->{Username} } ) || 0 };
}
Cheers
Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!