[Rt-commit] rt branch, 3.999-trunk, updated. f83a8c26d092f8031de63096d3b7b9e9cdd53828
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Fri Aug 28 04:24:19 EDT 2009
The branch, 3.999-trunk has been updated
via f83a8c26d092f8031de63096d3b7b9e9cdd53828 (commit)
from 32f6e51a9882eeea38c6bbc1c75b14e84c2dac86 (commit)
Summary of changes:
share/html/Search/Chart | 4 ++--
share/html/Search/Elements/Chart | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
- Log -----------------------------------------------------------------
commit f83a8c26d092f8031de63096d3b7b9e9cdd53828
Author: sunnavy <sunnavy at bestpractical.com>
Date: Fri Aug 28 16:24:02 2009 +0800
fix the "Modification of non-creatable array value" error
diff --git a/share/html/Search/Chart b/share/html/Search/Chart
index bac6c3c..a16e691 100644
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
@@ -126,10 +126,10 @@ while ( my $entry = $tix->next ) {
if ( $class ) {
my $q = $class->new();
$q->load( $entry->__value( $value_name ) );
- push @keys, $q->name;
+ push @keys, $q->name || '';
}
else {
- push @keys, $entry->__value($value_name);
+ push @keys, $entry->__value($value_name) || '';
}
$keys[-1] ||= _('(no value)');
diff --git a/share/html/Search/Elements/Chart b/share/html/Search/Elements/Chart
index ab756d0..2109b95 100644
--- a/share/html/Search/Elements/Chart
+++ b/share/html/Search/Elements/Chart
@@ -71,10 +71,10 @@ while ( my $entry = $tix->next ) {
if ($class) {
my $q = $class->new();
$q->load( $entry->__value( $value_name ) );
- push @keys, $q->name;
+ push @keys, $q->name || '';
}
else {
- push @keys, $entry->__value( $value_name );
+ push @keys, $entry->__value( $value_name ) || '';
}
$keys[-1] ||= _('(no value)');
push @values, $entry->__value( $count_name );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list