[Rt-commit] r5115 - rt/branches/3.4-RELEASE/html/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Tue Apr 25 19:24:46 EDT 2006
Author: ruz
Date: Tue Apr 25 19:24:45 2006
New Revision: 5115
Modified:
rt/branches/3.4-RELEASE/html/Elements/SelectNewTicketQueue
Log:
* (cond) && 'selected' outputs 0 if condition fails on my system
Modified: rt/branches/3.4-RELEASE/html/Elements/SelectNewTicketQueue
==============================================================================
--- rt/branches/3.4-RELEASE/html/Elements/SelectNewTicketQueue (original)
+++ rt/branches/3.4-RELEASE/html/Elements/SelectNewTicketQueue Tue Apr 25 19:24:45 2006
@@ -48,7 +48,7 @@
% foreach my $queue (@{$session{'create_in_queues'}}) {
<OPTION
VALUE="<%$queue->{'id'}%>"
- <%$Default && ($queue->{'id'} == $Default) && 'SELECTED'%>>
+ <% $Default && $queue->{'id'} == $Default ? 'SELECTED': ''%>>
<%$queue->{'Name'}%>
% if (($Verbose) and ($queue->{'Description'}) ){
(<%$queue->{'Description'}%>)
More information about the Rt-commit
mailing list