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

ruz at bestpractical.com ruz at bestpractical.com
Tue Dec 8 16:17:27 EST 2009


Author: ruz
Date: Tue Dec  8 16:17:27 2009
New Revision: 20194

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

Log:
* get rid of undefined 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	Tue Dec  8 16:17:27 2009
@@ -48,7 +48,7 @@
 % if ($Lite) {
 %     my $d = new RT::Queue($session{'CurrentUser'});
 %     $d->Load($Default);
-<input name="<%$Name%>" size="25" value="<%$d->Name%>" />
+<input name="<% defined $Name? $Name : '' %>" size="25" value="<% $d->Name %>" />
 % }
 % else {
 <select name="<%$Name%>">



More information about the Bps-public-commit mailing list