[Rt-devel] PATCH: silence warnings Elements.SelectBoolean

Jim Meyer purp at acm.org
Wed Nov 16 21:10:58 EST 2005


Attached.

And that's a day for me. I've got the quietest rt.log in the West*

Cheers!

--j

* ...of anyone running in Devel Mode.
-- 
Jim Meyer, Geek at Large                                    purp at acm.org
-------------- next part --------------
--- share/html/Elements/SelectBoolean	2005-04-24 14:17:46.000000000 -0700
+++ local/html/Elements/SelectBoolean	2005-11-16 17:56:38.000000000 -0800
@@ -57,9 +57,9 @@
 $False => loc("isn't")
 </%ARGS>
 
 <%INIT>
-my ($TrueDefault, $FalseDefault);
+my ($TrueDefault, $FalseDefault) = ('', '');
 if ($Default && $Default !~ /true/i) {
 	$FalseDefault = "SELECTED";
 }
 else {


More information about the Rt-devel mailing list