[Rt-commit] r5270 - in rtir/branches/1.9-EXPERIMENTAL: html/RTIR/Incident/Elements html/RTIR/Reporting

ruz at bestpractical.com ruz at bestpractical.com
Fri May 19 18:56:58 EDT 2006


Author: ruz
Date: Fri May 19 18:56:57 2006
New Revision: 5270

Modified:
   rtir/branches/1.9-EXPERIMENTAL/   (props changed)
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm
   rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html

Log:
 r1423 at cubic-pc:  cubic | 2006-05-20 03:03:49 +0400
 * use scalar context as we don't want to get array or empty list


Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/Create	Fri May 19 18:56:57 2006
@@ -33,7 +33,7 @@
 <& /RTIR/Elements/EditRTIRField,
     QueueObj => $QueueObj,
 	Name     => 'Description',
-	Default  => RT->Config->Get('_RTIR_Description_default'),
+	Default  => scalar RT->Config->Get('_RTIR_Description_default'),
 	Cols     => 40,
 &></td></tr>
 
@@ -42,7 +42,7 @@
 <& /RTIR/Elements/EditRTIRField,
     QueueObj => $QueueObj,
 	Name     => 'Constituency',
-	Default  => RT->Config->Get('_RTIR_Constituency_default'),
+	Default  => scalar RT->Config->Get('_RTIR_Constituency_default'),
 	Rows     => 1,
 &></td></tr>
 
@@ -51,7 +51,7 @@
 <& /RTIR/Elements/EditRTIRField, 
     QueueObj => $QueueObj, 
 	Name     => 'Function',
-	Default  => RT->Config->Get('_RTIR_Function_default'),
+	Default  => scalar RT->Config->Get('_RTIR_Function_default'),
 	Rows     => 1,
 &></td></tr>
 
@@ -60,7 +60,7 @@
 <& /RTIR/Elements/EditRTIRField, 
     QueueObj => $QueueObj, 
     Name     => 'Classification',
-    Default  => RT->Config->Get('_RTIR_Classification_default'),
+    Default  => scalar RT->Config->Get('_RTIR_Classification_default'),
     Rows     => 1,
 &></td></tr>
 

Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Incident/Elements/ReplyForm	Fri May 19 18:56:57 2006
@@ -22,7 +22,7 @@
     TicketObj => $TicketObj,
     QueueObj  => $QueueObj,
     Name      => 'Resolution',
-    Default   => RT->Config->Get("_RTIR_Resolution_". $Status ."_default"),
+    Default   => scalar RT->Config->Get("_RTIR_Resolution_". $Status ."_default"),
     Rows      => 1,
 &></td></tr>
 % }

Modified: rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html
==============================================================================
--- rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html	(original)
+++ rtir/branches/1.9-EXPERIMENTAL/html/RTIR/Reporting/index.html	Fri May 19 18:56:57 2006
@@ -38,7 +38,7 @@
       <& /RTIR/Elements/EditRTIRField, 
          QueueObj => $QueueObj, 
 	     Name     => 'Constituency',
-	     Default  => RT->Config->Get('_RTIR_Constituency_default'),
+	     Default  => scalar RT->Config->Get('_RTIR_Constituency_default'),
 	     Rows     => 1
       &>
     </td>


More information about the Rt-commit mailing list