[Rt-commit] rt branch, 3.8-trunk, updated. 9dd1750c323ab97262cd6abf143f498205a96c13
sartak at bestpractical.com
sartak at bestpractical.com
Tue Jul 28 15:13:59 EDT 2009
The branch, 3.8-trunk has been updated
via 9dd1750c323ab97262cd6abf143f498205a96c13 (commit)
from daf92f16f4da74944caecf493cdd195c13cb2dab (commit)
Summary of changes:
lib/RT/Interface/Web.pm | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 9dd1750c323ab97262cd6abf143f498205a96c13
Author: Shawn M Moore <sartak at gmail.com>
Date: Tue Jul 28 15:13:36 2009 -0400
Fix ticket creation to accept custom fields with value "0"
diff --git a/lib/RT/Interface/Web.pm b/lib/RT/Interface/Web.pm
index d58d9ff..9ed75e0 100755
--- a/lib/RT/Interface/Web.pm
+++ b/lib/RT/Interface/Web.pm
@@ -541,7 +541,8 @@ sub CreateTicket {
} elsif ( $type =~ /text/i ) {
@values = ($ARGS{ $arg });
} else {
- @values = split /\r*\n/, $ARGS{ $arg } || '';
+ no warnings 'uninitialized';
+ @values = split /\r*\n/, $ARGS{ $arg };
}
@values = grep length,
map {
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list