[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.6-29-g8875af6

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Oct 26 00:28:21 EDT 2009


The branch, 3.8-trunk has been updated
       via  8875af6ef0f78d1ac983506f340c1e218758f498 (commit)
      from  bdebe4a4a5a479fe0afd805c14857a7d120c6913 (commit)

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

- Log -----------------------------------------------------------------
commit 8875af6ef0f78d1ac983506f340c1e218758f498
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon Oct 26 12:27:28 2009 +0800

    comment one confusing code

diff --git a/share/html/REST/1.0/Forms/ticket/default b/share/html/REST/1.0/Forms/ticket/default
index ce15423..9654592 100755
--- a/share/html/REST/1.0/Forms/ticket/default
+++ b/share/html/REST/1.0/Forms/ticket/default
@@ -431,7 +431,11 @@ 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;
+
                 delete $o{id};
                 @$o = ("id", keys %o);
                 $k = $changes;

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


More information about the Rt-commit mailing list