[Rt-commit] r7923 - in rt/branches/3.7-EXPERIMENTAL-TUNIS: html/Admin/Elements html/SelfService

clsung at bestpractical.com clsung at bestpractical.com
Thu May 24 04:44:31 EDT 2007


Author: clsung
Date: Thu May 24 04:44:30 2007
New Revision: 7923

Modified:
   rt/branches/3.7-EXPERIMENTAL-TUNIS/   (props changed)
   rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Admin/Elements/EditCustomFields
   rt/branches/3.7-EXPERIMENTAL-TUNIS/html/SelfService/Create.html

Log:
 r7486 at going04:  clsung | 2007-05-24 16:44:19 +0800
 - give default value


Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Admin/Elements/EditCustomFields
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Admin/Elements/EditCustomFields	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Admin/Elements/EditCustomFields	Thu May 24 04:44:30 2007
@@ -48,7 +48,7 @@
 <& /Elements/ListActions, actions => \@results &>
 
 <form action="<%RT->Config->Get('WebPath')%><% $m->request_comp->path |n %>" method="post" name="EditCustomFields">
-<input type="hidden" class="hidden" name="id" value="<% $Object->Id %>" />
+<input type="hidden" class="hidden" name="id" value="<% $Object->Id || ''%>" />
 <input type="hidden" class="hidden" name="ObjectType" value="<% $ObjectType %>" />
 <input type="hidden" class="hidden" name="SubType" value="<% $SubType %>" />
 <input type="hidden" class="hidden" name="UpdateCFs" value="1" />

Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/SelfService/Create.html
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/SelfService/Create.html	(original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/SelfService/Create.html	Thu May 24 04:44:30 2007
@@ -56,8 +56,8 @@
 <&|/l&>Queue</&>:
 </td>
 <td class="value">
-    <input type="hidden" class="hidden" name="Queue" value="<%$queue_obj->id%>" />
-    <strong><%$queue_obj->Name%></strong> (<%$queue_obj->Description%>)
+    <input type="hidden" class="hidden" name="Queue" value="<%$queue_obj->id || ''%>" />
+    <strong><%$queue_obj->Name || ''%></strong> (<%$queue_obj->Description || ''%>)
 </td>
 </tr>
 <tr>


More information about the Rt-commit mailing list