O, try changing;
if (!$USER) {print $IN->redirect( Links::redirect_login_url);return;}
to
if (!$USER) {print $IN->redirect( Links::redirect_login_url); exit;}
Not quite sure why a return was being called there. You could probably even get away without the 'exit', but I'd leave it in there just for safe measure.
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!
if (!$USER) {print $IN->redirect( Links::redirect_login_url);return;}
to
if (!$USER) {print $IN->redirect( Links::redirect_login_url); exit;}
Not quite sure why a return was being called there. You could probably even get away without the 'exit', but I'd leave it in there just for safe measure.
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!