Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: [nir] delete link

Quote Reply
Re: [nir] delete link In reply to
Mmm weird - and you get that error?

Undefined subroutine &sub { $DB->table('Links')->delete( { ID => $_[0] } ) || return $GT::SQL::error; return; } called at GT::Template::_call_func line 810.

???

Seems odd - that global + the way its setup all looks fine ot me :/

Are you sure you dont have any extra spaces at the beginning and end of the code?

i.e you dont have:

Code:
sub {

or

Code:
}

(i.e extra spaces where there shouldn't be)

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 delete link nir 5193 Oct 6, 2010, 5:24 AM
Thread Re: [nir] delete link
Andy 5069 Oct 6, 2010, 5:38 AM
Thread Re: [Andy] delete link
nir 5069 Oct 6, 2010, 5:53 AM
Thread Re: [nir] delete link
Andy 5075 Oct 6, 2010, 5:56 AM
Thread Re: [Andy] delete link
nir 5069 Oct 6, 2010, 6:20 AM
Thread Re: [nir] delete link
Andy 5087 Oct 6, 2010, 6:24 AM
Thread Re: [Andy] delete link
nir 5052 Oct 6, 2010, 6:37 AM
Post Re: [nir] delete link
Andy 5054 Oct 6, 2010, 6:40 AM