[Rt-devel] PATCH: silence warnings Elements/SelectWatcherType

Jim Meyer purp at acm.org
Wed Nov 16 20:04:27 EST 2005


Attached.

--j
-- 
Jim Meyer, Geek at Large                                    purp at acm.org
-------------- next part --------------
--- share/html/Elements/SelectWatcherType	2005-04-24 14:17:46.000000000 -0700
+++ local/html/Elements/SelectWatcherType	2005-11-16 17:02:41.000000000 -0800
@@ -47,9 +47,9 @@
 % if ($AllowNull) {
 <option value="">-</option>
 % }
 %for my $option (@types) {
-<option value="<%$option%>" <%$option eq $Default && "SELECTED"%>><%loc($option)%></option>
+<option value="<%$option%>" <%defined($Default) && $option eq $Default && "SELECTED"%>><%loc($option)%></option>
 %}
 </select>
 
 <%INIT>


More information about the Rt-devel mailing list