[Rt-commit] r5523 - in rt/branches/3.6-RELEASE: . html/Elements html/Ticket

robert at bestpractical.com robert at bestpractical.com
Tue Jul 4 02:36:41 EDT 2006


Author: robert
Date: Tue Jul  4 02:36:40 2006
New Revision: 5523

Modified:
   rt/branches/3.6-RELEASE/   (props changed)
   rt/branches/3.6-RELEASE/html/Elements/CollectionAsTable/Row
   rt/branches/3.6-RELEASE/html/Elements/QueryString
   rt/branches/3.6-RELEASE/html/Ticket/Update.html

Log:
 r5607 at bear:  rspier | 2006-07-03 20:30:15 -0700
 Hide a handful of warnings in a quick and dirty way


Modified: rt/branches/3.6-RELEASE/html/Elements/CollectionAsTable/Row
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/CollectionAsTable/Row	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/CollectionAsTable/Row	Tue Jul  4 02:36:40 2006
@@ -56,7 +56,7 @@
 $m->out('<tr class="' . ( $Warning ? 'warnline' : $i % 2 ? 'oddline' : 'evenline' ) . '" >' );
 my $item;
 foreach my $column (@Format) {
-    if ( $column->{title} eq 'NEWLINE' ) {
+    if ( defined $column->{title} && $column->{title} eq 'NEWLINE' ) {
         while ( $item < $maxitems ) {
             $m->out(qq{<td class="collection-as-table">&nbsp;</td>\n});
             $item++;

Modified: rt/branches/3.6-RELEASE/html/Elements/QueryString
==============================================================================
--- rt/branches/3.6-RELEASE/html/Elements/QueryString	(original)
+++ rt/branches/3.6-RELEASE/html/Elements/QueryString	Tue Jul  4 02:36:40 2006
@@ -53,7 +53,7 @@
     push @params, $key."=".$m->interp->apply_escapes($_, 'u')
       for @{$value};
   } else {
-    push @params, $key."=".$m->interp->apply_escapes($value,'u');
+    push @params, $key."=".$m->interp->apply_escapes($value||"",'u');
   }
     }
 }

Modified: rt/branches/3.6-RELEASE/html/Ticket/Update.html
==============================================================================
--- rt/branches/3.6-RELEASE/html/Ticket/Update.html	(original)
+++ rt/branches/3.6-RELEASE/html/Ticket/Update.html	Tue Jul  4 02:36:40 2006
@@ -81,11 +81,11 @@
 </td></tr>
 <tr><td align="right"><&|/l&>Subject</&>:</td><td> <input name="UpdateSubject" size="60" value="<% $ARGS{UpdateSubject} || $TicketObj->Subject()%>" /></td></tr>
 <tr><td align="right"><&|/l&>Cc</&>:</td><td> <input name="UpdateCc" size="60"
-value="<% $ARGS{UpdateCc} %>" /><br />
+value="<%$ARGS{UpdateCc}||""%>" /><br />
 <i><font size="-2">
 <&|/l&>(Sends a carbon-copy of this update to a comma-delimited list of email addresses. Does <strong>not</strong> change who will receive future updates.)</&></font></i>
 </td></tr>
-<tr><td align="right"><&|/l&>Bcc</&>:</td><td> <input name="UpdateBcc" size="60" value="<%$ARGS{UpdateBcc}%>" /><br />
+<tr><td align="right"><&|/l&>Bcc</&>:</td><td> <input name="UpdateBcc" size="60" value="<%$ARGS{UpdateBcc}||""%>" /><br />
 <i><font size="-2">
 <&|/l&>(Sends a blind carbon-copy of this update to a comma-delimited list of email addresses. Does <strong>not</strong> change who will receive future updates.)</&></font></i>
 </td></tr>


More information about the Rt-commit mailing list