[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-826-gfbd5c51

? sunnavy sunnavy at bestpractical.com
Mon Sep 20 01:38:19 EDT 2010


The branch, 3.9-trunk has been updated
       via  fbd5c514a0e2996c09171c106f8f872f8429bab8 (commit)
      from  07448f26708fb3715d556218c4ed8f80591a4ea3 (commit)

Summary of changes:
 share/html/REST/1.0/Forms/ticket/default |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

- Log -----------------------------------------------------------------
commit fbd5c514a0e2996c09171c106f8f872f8429bab8
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Sep 20 13:40:56 2010 +0800

    warning fix

diff --git a/share/html/REST/1.0/Forms/ticket/default b/share/html/REST/1.0/Forms/ticket/default
index 0c25f6f..4495208 100755
--- a/share/html/REST/1.0/Forms/ticket/default
+++ b/share/html/REST/1.0/Forms/ticket/default
@@ -280,7 +280,7 @@ else {
             $key = $simple{$key};
             $set = "Set$key";
 
-            next if (($val eq $ticket->$key)|| ($ticket->$key =~ /^\d+$/ && $val =~ /^\d+$/ && $val == $ticket->$key));
+            next if (($val eq ($ticket->$key||''))|| ($ticket->$key =~ /^\d+$/ && $val =~ /^\d+$/ && $val == $ticket->$key));
             ($n, $s) = $ticket->$set("$val");
         }
         elsif (exists $dates{$key}) {

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


More information about the Rt-commit mailing list