[Rt-devel] PATCH: silence warnings Search/Elements/EditSearch

Jim Meyer purp at acm.org
Wed Nov 16 21:08:43 EST 2005


Attached.

--j
-- 
Jim Meyer, Geek at Large                                    purp at acm.org
-------------- next part --------------
--- share/html/Search/Elements/EditSearches	2005-09-02 09:57:39.000000000 -0700
+++ local/html/Search/Elements/EditSearches	2005-11-16 17:58:51.000000000 -0800
@@ -53,9 +53,9 @@
 % } else {
 <& SelectSearchObject, Name => 'Owner', Objects => \@Objects &><br>
 % }
 <&|/l&>Description</&>:<br>
-<font size="-1"><input size="25" name="Description" value="<%$CurrentSearch->{'Description'}%>"></font>
+<font size="-1"><input size="25" name="Description" value="<%$CurrentSearch->{'Description'} || ''%>"></font>
 <nobr>
 % if ($SearchId ne 'new') {
 % if ($Dirty) {
 <input type="submit" class="button" name="Revert" value="<%loc('Revert')%>">


More information about the Rt-devel mailing list