[Rt-commit] rt branch, owner-autocomplete, updated. rt-3.8.8-488-ged9e5bd

Thomas Sibley trs at bestpractical.com
Thu Aug 19 18:23:05 EDT 2010


The branch, owner-autocomplete has been updated
       via  ed9e5bdab1c74575fd92eeaa849214b7fcec407f (commit)
      from  f0c87aae6ab131b50e6e2f035534005ea3b6dd01 (commit)

Summary of changes:
 share/html/Elements/SelectOwnerAutocomplete |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit ed9e5bdab1c74575fd92eeaa849214b7fcec407f
Author: Thomas Sibley <trs at bestpractical.com>
Date:   Thu Aug 19 18:25:13 2010 -0400

    Eliminate uninitialized warnings

diff --git a/share/html/Elements/SelectOwnerAutocomplete b/share/html/Elements/SelectOwnerAutocomplete
index dffce29..cd179db 100644
--- a/share/html/Elements/SelectOwnerAutocomplete
+++ b/share/html/Elements/SelectOwnerAutocomplete
@@ -63,7 +63,7 @@ if ( $Default and not $Default =~ /\D/ ) {
 }
 
 # Map to a string of RT::Ticket-1|RT::Queue-5|...
-my $limit = join '|', map { join '-', ref($_), $_->id } @$Objects;
+my $limit = join '|', map { join '-', ref($_), ($_->id || '') } @$Objects;
 
 my $query = $m->comp('/Elements/QueryString',
     return  => $ValueAttribute,

-----------------------------------------------------------------------


More information about the Rt-commit mailing list