add no_fuzzy_on_exact global, RT#24804
[freeside.git] / httemplate / pref / pref.html
index 05ea9d1..fcd2596 100644 (file)
@@ -91,6 +91,12 @@ Interface
     </TD>
   </TR>
 
+% if ( FS::Conf->new->exists('enable_fuzzy_on_exact') ) {
+
+  <INPUT TYPE="hidden" NAME="enable_fuzzy_on_exact" VALUE="<% $curuser->option('enable_fuzzy_on_exact') ? 1 : 0 %>">
+
+% } else {
+
  <TR>
     <TH ALIGN="right" COLSPAN=1>Enable approximate customer searching even when an exact match is found: </TH>
     <TD ALIGN="left" COLSPAN=2>
@@ -98,6 +104,8 @@ Interface
     </TD>
   </TR>
 
+% }
+
   <TR>
     <TH ALIGN="right" COLSPAN=1>Disable HTML editor for customer notes: </TH>
     <TD ALIGN="left" COLSPAN=2>