[Rt-commit] rt branch, new-style-templates, updated. rt-3.8.8-220-g2c3696d
Shawn Moore
sartak at bestpractical.com
Mon Jul 26 20:26:43 EDT 2010
The branch, new-style-templates has been updated
via 2c3696d23a30d2e00d15a6b5a0ff222666141031 (commit)
from bd5d4ab05de50a3bb1e8530f2fde9c1bc8edebb0 (commit)
Summary of changes:
share/html/Admin/Elements/ModifyTemplate | 10 ++++++----
1 files changed, 6 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit 2c3696d23a30d2e00d15a6b5a0ff222666141031
Author: Shawn M Moore <sartak at bestpractical.com>
Date: Mon Jul 26 20:28:01 2010 -0400
Avoid undef warnings in Template, default Type to Full
diff --git a/share/html/Admin/Elements/ModifyTemplate b/share/html/Admin/Elements/ModifyTemplate
index 0c264b1..3faea47 100755
--- a/share/html/Admin/Elements/ModifyTemplate
+++ b/share/html/Admin/Elements/ModifyTemplate
@@ -84,11 +84,13 @@
<%INIT>
+$Type = 'Full' if !$Type;
+
</%INIT>
<%ARGS>
-$Name => undef
-$Description => undef
-$Content => undef
-$Type => undef
+$Name => ''
+$Description => ''
+$Content => ''
+$Type => 'Full'
</%ARGS>
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list