[Bps-public-commit] r20203 - RT-Extension-rt_cpan_org/html/Elements

ruz at bestpractical.com ruz at bestpractical.com
Fri Dec 11 04:51:22 EST 2009


Author: ruz
Date: Fri Dec 11 04:51:21 2009
New Revision: 20203

Modified:
   RT-Extension-rt_cpan_org/html/Elements/SelectQueue

Log:
* fix proper uninit warning

Modified: RT-Extension-rt_cpan_org/html/Elements/SelectQueue
==============================================================================
--- RT-Extension-rt_cpan_org/html/Elements/SelectQueue	(original)
+++ RT-Extension-rt_cpan_org/html/Elements/SelectQueue	Fri Dec 11 04:51:21 2009
@@ -48,7 +48,8 @@
 % if ($Lite) {
 %     my $d = new RT::Queue($session{'CurrentUser'});
 %     $d->Load($Default);
-<input name="<% defined $Name? $Name : '' %>" size="25" value="<% $d->Name %>" />
+%     my $dname = $d->Name; $dname = '' unless defined $dname;
+<input name="<% $Name %>" size="25" value="<% $dname %>" />
 % }
 % else {
 <select name="<%$Name%>">



More information about the Bps-public-commit mailing list