Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [cdkrg] Bought Links with a bug, so help is needed

Quote Reply
Re: [cdkrg] Bought Links with a bug, so help is needed In reply to
Yeah, its a bit of a weird one.

Just so you know, this is why it wasn't working;

=> in GT::SQL::Condition is invalid syntax, as it would give WHERE Timestmp => $Timestmp, while it should be WHERE Timestmp = $Timestmp.

Doing something like this;

my $table = $DB->table('Links')->select( { Timestmp => $Timestmp } ) would equal to WHERE Timestmp = $Timestmp, which is the correct syntax.

Just so you know what the error was related to Tongue

>>>I'd really rather have the original code work, but as long as this does not cause other bugs I can live with it. I just worry about LinksSQL upgrades and keeping this working. <<<

As long as you make a note that this sub has changed (_chk_timestmp I think it is), then you can just apply that fix to any upgrades you do, and there shouldn't be any problems.

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!
Subject Author Views Date
Thread Bought Links with a bug, so help is needed cdkrg 2552 Oct 3, 2003, 12:56 PM
Thread Re: [cdkrg] Bought Links with a bug, so help is needed
cdkrg 2477 Oct 10, 2003, 5:52 PM
Thread Re: [cdkrg] Bought Links with a bug, so help is needed
cdkrg 2455 Oct 10, 2003, 6:12 PM
Thread Re: [cdkrg] Bought Links with a bug, so help is needed
cdkrg 2439 Oct 11, 2003, 1:45 AM
Thread Re: [cdkrg] Bought Links with a bug, so help is needed
Andy 2425 Oct 11, 2003, 1:50 AM
Thread Re: [Andy] Bought Links with a bug, so help is needed
cdkrg 2435 Oct 11, 2003, 2:28 AM
Post Re: [cdkrg] Bought Links with a bug, so help is needed
Andy 2444 Oct 11, 2003, 2:48 AM