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
>>>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!
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
>>>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!