[Rt-commit] rt branch, 4.2/rest-ticket-content-type, updated. rt-4.0.6-339-gffc0371
? sunnavy
sunnavy at bestpractical.com
Thu Jun 14 02:49:24 EDT 2012
The branch, 4.2/rest-ticket-content-type has been updated
via ffc03711f318379bbd8d6784666cd3d7ec16adbe (commit)
from 722a8bcf35a620f2c4f7fee140fa86326026f3ce (commit)
Summary of changes:
bin/rt.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
- Log -----------------------------------------------------------------
commit ffc03711f318379bbd8d6784666cd3d7ec16adbe
Author: sunnavy <sunnavy at bestpractical.com>
Date: Thu Jun 14 14:34:33 2012 +0800
uninitialized warning fix
diff --git a/bin/rt.in b/bin/rt.in
index c97922a..da5f0c4 100755
--- a/bin/rt.in
+++ b/bin/rt.in
@@ -659,7 +659,7 @@ sub edit {
EDIT:
# We'll let the user edit the form before sending it to the server,
# unless we have enough information to submit it non-interactively.
- if ( $type eq 'ticket' && $text !~ /^Content-Type:/m ) {
+ if ( $type && $type eq 'ticket' && $text !~ /^Content-Type:/m ) {
$content_type ||= 'text/plain';
$text .= "Content-Type: $content_type\n";
}
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list