[Rt-commit] r4284 - in rt/branches/3.7-EXPERIMENTAL: .
html/Search/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Mon Dec 12 11:14:25 EST 2005
Author: ruz
Date: Mon Dec 12 11:14:25 2005
New Revision: 4284
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Search/Elements/EditSearches
Log:
r1434 at cubic-pc: cubic | 2005-12-12 18:32:07 +0300
* delet uninit warning, mark possible bug
Modified: rt/branches/3.7-EXPERIMENTAL/html/Search/Elements/EditSearches
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Search/Elements/EditSearches (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Search/Elements/EditSearches Mon Dec 12 11:14:25 2005
@@ -54,7 +54,7 @@
<& 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) {
@@ -97,8 +97,9 @@
<%ARGS>
$SearchId => undef
-$CurrentSearch => undef
+$CurrentSearch => {}
+# XXX: next argument is not used! instead used description
+# field from CurrentSearch hash
$Description => undef
-$HideResults => 0
$Dirty => 0
</%ARGS>
More information about the Rt-commit
mailing list