[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.19-9-gb9136ec

? sunnavy sunnavy at bestpractical.com
Fri Feb 7 12:44:54 EST 2014


The branch, 4.0-trunk has been updated
       via  b9136eca8fd37549dc79923f99427264ec9d3472 (commit)
      from  4335ba6812ffab7c8dcc6f8ff91485de3d228e27 (commit)

Summary of changes:
 share/html/Elements/EditCustomFieldSelect | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit b9136eca8fd37549dc79923f99427264ec9d3472
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Sat Feb 8 01:28:15 2014 +0800

    uninitialized warning fix when cf's Category is undef

diff --git a/share/html/Elements/EditCustomFieldSelect b/share/html/Elements/EditCustomFieldSelect
index 87400ab..3607e86 100644
--- a/share/html/Elements/EditCustomFieldSelect
+++ b/share/html/Elements/EditCustomFieldSelect
@@ -115,7 +115,7 @@ jQuery(  function () {
 %   while ( my $value = $CFVs->Next ) {
 %     my $content = $value->Name;
 %     my $labelid = "$name-". $value->id;
-<div name="<% $value->Category %>">
+<div name="<% $value->Category || '' %>">
   <input type="<% $checktype %>" name="<% $name %>" id="<% $labelid %>" value="<% $content %>" <% $default{ lc $content }? ' checked="checked"' : '' |n%> />
   <label for="<% $labelid %>"><% $content %></label><br />
 </div>

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


More information about the rt-commit mailing list