[Bps-public-commit] RT-Extension-PriorityAsString branch, master, updated. 0.04-2-g7552db8
? sunnavy
sunnavy at bestpractical.com
Fri Jan 6 02:41:42 EST 2012
The branch, master has been updated
via 7552db8c971ee2c337af9d3dd7bacd53d6a36a74 (commit)
from 8d6e7ae7e3e0e95c6e7f1ad36f9b06058b6d4487 (commit)
Summary of changes:
html/Ticket/Elements/ShowPriority | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
- Log -----------------------------------------------------------------
commit 7552db8c971ee2c337af9d3dd7bacd53d6a36a74
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Jan 6 15:38:57 2012 +0800
warning fix: PriorityAsSting may return undef
diff --git a/html/Ticket/Elements/ShowPriority b/html/Ticket/Elements/ShowPriority
index 29775f3..cf6fba5 100644
--- a/html/Ticket/Elements/ShowPriority
+++ b/html/Ticket/Elements/ShowPriority
@@ -4,6 +4,6 @@
$Ticket => undef
</%ARGS>
<%INIT>
-my $current = $Ticket->PriorityAsString;
-my $final = $Ticket->FinalPriorityAsString;
+my $current = $Ticket->PriorityAsString || '';
+my $final = $Ticket->FinalPriorityAsString || '';
</%INIT>
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list