[Rt-commit] [svn] r1593 - rtir/branches/1.1-TESTING/html/RTIR/Tools
leira at pallas.eruditorum.org
leira at pallas.eruditorum.org
Thu Sep 30 00:22:57 EDT 2004
Author: leira
Date: Thu Sep 30 00:22:56 2004
New Revision: 1593
Modified:
rtir/branches/1.1-TESTING/html/RTIR/Tools/ScriptedAction.html
Log:
New objects need a Current User (even if it does work otherwise).
Modified: rtir/branches/1.1-TESTING/html/RTIR/Tools/ScriptedAction.html
==============================================================================
--- rtir/branches/1.1-TESTING/html/RTIR/Tools/ScriptedAction.html (original)
+++ rtir/branches/1.1-TESTING/html/RTIR/Tools/ScriptedAction.html Thu Sep 30 00:22:56 2004
@@ -189,7 +189,7 @@
$Title = loc("Scripted Action: Create Investigations for Incident #[_1]", $incidentid);
-my $template = new RT::Template;
+my $template = new RT::Template($session{'CurrentUser'});
$template->LoadGlobalTemplate($TemplateName);
$ARGS{'Template'} = $template->Id;
More information about the Rt-commit
mailing list