[Rt-commit] r5850 - rt/branches/3.4-RELEASE/html/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Mon Sep 4 12:49:13 EDT 2006
Author: ruz
Date: Mon Sep 4 12:49:12 2006
New Revision: 5850
Modified:
rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldSelect
Log:
* drop uninit warning
Modified: rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldSelect
==============================================================================
--- rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldSelect (original)
+++ rt/branches/3.4-RELEASE/html/Elements/EditCustomFieldSelect Mon Sep 4 12:49:12 2006
@@ -51,7 +51,7 @@
% while ($CFVs and my $value = $CFVs->Next ) {
<option value="<%$value->Name%>"
% if ($Values) {
- <% $Values->HasEntry($value->Name) && ($selected = 1) && 'SELECTED' %>
+ <% ($Values->HasEntry($value->Name)||'') && ($selected = 1) && 'SELECTED' %>
% } elsif ($Default) {
<% (ref $Default ? (grep {$_ eq $value->Name} @{$Default}) : ($Default eq $value->Name))
&& ($selected = 1) && 'SELECTED' %>
More information about the Rt-commit
mailing list