[Rt-commit] r8412 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: html/REST/1.0/Forms/queue

sartak at bestpractical.com sartak at bestpractical.com
Mon Aug 6 17:58:10 EDT 2007


Author: sartak
Date: Mon Aug  6 17:58:10 2007
New Revision: 8412

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/queue/default

Log:
 r36760 at gorgoroth:  sartak | 2007-08-02 12:51:52 -0400
 local copy of RT
 r36964 at gorgoroth:  sartak | 2007-08-06 17:57:29 -0400
 using %hash == 0 is wrong


Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/queue/default
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/queue/default	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/REST/1.0/Forms/queue/default	Mon Aug  6 17:58:10 2007
@@ -68,7 +68,7 @@
     }
 }
 else {
-    if (%data == 0) {
+    if (keys %data == 0) {
         return [
             "# Required: Name",
             [ "id", @fields ],
@@ -112,7 +112,7 @@
         delete $data{id};
         $id = $queue->Id;
         push(@comments, "# Queue $id created.");
-        goto DONE if %data == 0;
+        goto DONE if keys %data == 0;
     }
 }
 


More information about the Rt-commit mailing list