Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Problem with Links::language

Quote Reply
Problem with Links::language
Hi,

I make an update of my installation 2.1.2 to 3.0.
All seems to function correctly.
But, a plugin does not work correctly.
It does not use the value of Links::language ('AD_RENEWAL_NOTIFICATION_SUBJECT').

require GT::Mail;
$GT::Mail::error ||= ''; # Silence -w
GT::Mail->send (
smtp => $CFG->{db_smtp_server},
sendmail => $CFG->{db_mail_path},
from => $CFG->{db_admin_email},
subject => Links::language('AD_RENEWAL_NOTIFICATION_SUBJECT'),
to => $link->{Email},
msg => $msg,
debug => $Links::DEBUG
) or Links::fatal ("Unable to send mail: $GT::Mail::error");

However, this value is well declared in Buil and User Language (language.txt).

An idea?
Thanks!

Mick

Subject Author Views Date
Thread Problem with Links::language MJ_ 5548 Aug 17, 2011, 1:58 AM
Thread Re: [MJ_] Problem with Links::language
Andy 5344 Aug 17, 2011, 2:22 AM
Thread Re: [Andy] Problem with Links::language
MJ_ 5384 Aug 17, 2011, 2:33 AM
Thread Re: [MJ_] Problem with Links::language
Andy 5344 Aug 17, 2011, 2:56 AM
Thread Re: [Andy] Problem with Links::language
MJ_ 5377 Aug 17, 2011, 6:41 AM
Thread Re: [MJ_] Problem with Links::language
Andy 5322 Aug 17, 2011, 6:45 AM
Thread Re: [Andy] Problem with Links::language
MJ_ 5347 Aug 17, 2011, 8:57 AM
Post Re: [MJ_] Problem with Links::language
Andy 5354 Aug 17, 2011, 9:21 AM