[Rt-commit] r17995 - in rt/3.999/branches/merge_to_3.8.2: share/html/REST/1.0/Forms/ticket
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Thu Jan 29 03:20:36 EST 2009
Author: sunnavy
Date: Thu Jan 29 03:20:35 2009
New Revision: 17995
Modified:
rt/3.999/branches/merge_to_3.8.2/ (props changed)
rt/3.999/branches/merge_to_3.8.2/share/html/REST/1.0/Forms/ticket/history
Log:
r19180 at sunnavys-mb: sunnavy | 2009-01-29 16:18:59 +0800
merged share/html/REST/1.0/Forms/ticket/history
Modified: rt/3.999/branches/merge_to_3.8.2/share/html/REST/1.0/Forms/ticket/history
==============================================================================
--- rt/3.999/branches/merge_to_3.8.2/share/html/REST/1.0/Forms/ticket/history (original)
+++ rt/3.999/branches/merge_to_3.8.2/share/html/REST/1.0/Forms/ticket/history Thu Jan 29 03:20:35 2009
@@ -149,7 +149,7 @@
my $attachlist;
my $attachments = $t->attachments;
while (my $a = $attachments->next) {
- my $size = length($a->content);
+ my $size = length($a->content||'');
if ($size > 1024) { $size = int($size/102.4)/10 . "k" }
else { $size .= "b" }
$attachlist .= "\n" . $a->id.": ".($a->filename || "untitled")." (".$size.")";
More information about the Rt-commit
mailing list