Home : Products : Gossamer Links : Development, Plugins and Globals :

Products: Gossamer Links: Development, Plugins and Globals: Re: [Matthias70] check if user has reviews: Edit Log

Here is the list of edits for this post
Re: [Matthias70] check if user has reviews
Hi,

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!

Last edited by:

Andy: Mar 5, 2008, 8:50 AM

Edit Log: