[freeside-commits] branch FREESIDE_3_BRANCH updated. 5f25f76ab660040203be626ce62128af021d6185
Mark Wells
mark at 420.am
Fri Aug 9 12:35:54 PDT 2013
The branch, FREESIDE_3_BRANCH has been updated
via 5f25f76ab660040203be626ce62128af021d6185 (commit)
from 2feef99c412039a2b718e5f3889f2c25dc1bcf73 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 5f25f76ab660040203be626ce62128af021d6185
Author: Mark Wells <mark at freeside.biz>
Date: Fri Aug 9 12:34:53 2013 -0700
fix ticket creation, from #23309
diff --git a/rt/share/html/Ticket/Elements/EditBasics b/rt/share/html/Ticket/Elements/EditBasics
index a86bb6c..e7a1662 100755
--- a/rt/share/html/Ticket/Elements/EditBasics
+++ b/rt/share/html/Ticket/Elements/EditBasics
@@ -52,7 +52,7 @@ $InTable => 0
%defaults => ()
</%ARGS>
<%INIT>
-my $WillResolveObj = $TicketObj->WillResolveObj;
+my $WillResolveObj = $TicketObj->WillResolveObj if defined $TicketObj;
unless ( @fields ) {
@fields = (
{ name => 'Subject',
@@ -74,7 +74,8 @@ unless ( @fields ) {
args => {
menu_prefix => 'WillResolve',
Default => $ARGS{'WillResolve'} ||
- ($WillResolveObj->Unix > 0 ?
+ (defined($WillResolveObj)
+ and $WillResolveObj->Unix > 0 ?
$WillResolveObj->Date : ''),
current => 0,
ShowTime => 0,
-----------------------------------------------------------------------
Summary of changes:
rt/share/html/Ticket/Elements/EditBasics | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
More information about the freeside-commits
mailing list