[Rt-commit] r6984 - rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface

ruz at bestpractical.com ruz at bestpractical.com
Tue Feb 13 08:42:08 EST 2007


Author: ruz
Date: Tue Feb 13 08:42:07 2007
New Revision: 6984

Modified:
   rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm

Log:
* use config ,odule to get var's value

Modified: rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm	(original)
+++ rt/branches/3.7-EXPERIMENTAL-RTIR-2.2/lib/RT/Interface/Email.pm	Tue Feb 13 08:42:07 2007
@@ -940,7 +940,7 @@
 
     # Notify the RT Admin of the failure.
     MailError(
-        To          => $RT::OwnerEmail,
+        To          => scalar RT->Config->Get('OwnerEmail'),
         Subject     => "Could not load a valid user",
         Explanation => <<EOT,
 RT could not load a valid user, and RT's configuration does not allow


More information about the Rt-commit mailing list