Aaaah.. I get you now <G> (was a while since I wrote that :P)
In /admin/Plugins/SendEmailAfterAdd.pm, find;
..and add below it;
So it looks like;
$newIN->{ID} = $DB->table('CatLinks')->select( ['MAX(LinkID)'] )->fetchrow;
Hopefully will work =) (nb: untested)
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!
In /admin/Plugins/SendEmailAfterAdd.pm, find;
Code:
%$newIN = map { $_ => $IN->param($_) } $IN->param;..and add below it;
Code:
$newIN->{ID} = $DB->table('CatLinks')->select( ['MAX(LinkID)'] )->fetchrow;So it looks like;
Code:
%$newIN = map { $_ => $IN->param($_) } $IN->param; $newIN->{ID} = $DB->table('CatLinks')->select( ['MAX(LinkID)'] )->fetchrow;
Hopefully will work =) (nb: untested)
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!