[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-35-g10dbd76

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Oct 26 21:09:03 EDT 2009


The branch, 3.8-trunk has been updated
       via  10dbd767bb098cd4ff0b9ab55151f8e82137db44 (commit)
      from  8ec9c13c06758f77b38e86edb1c8f3f9ab24907c (commit)

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

- Log -----------------------------------------------------------------
commit 10dbd767bb098cd4ff0b9ab55151f8e82137db44
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Tue Oct 27 09:08:52 2009 +0800

    my %o = keys %$changes; is indeed wrong

diff --git a/share/html/REST/1.0/Forms/ticket/default b/share/html/REST/1.0/Forms/ticket/default
index 9654592..2af68f8 100755
--- a/share/html/REST/1.0/Forms/ticket/default
+++ b/share/html/REST/1.0/Forms/ticket/default
@@ -431,11 +431,7 @@ else {
             $e = 1;
             push @comments, "# $key: $s";
             unless (@$o) {
-                # XXX by sunnavy
-                # the following line is probably wrong, maybe
-                # my %o = %$changes;  ???
-                my %o = keys %$changes;
-
+                my %o = %$changes;
                 delete $o{id};
                 @$o = ("id", keys %o);
                 $k = $changes;

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


More information about the Rt-commit mailing list