rt 4.2.15
[freeside.git] / rt / share / html / Elements / SelectAttachmentField
index bc2a0a4..0c3142e 100755 (executable)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2018 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -47,7 +47,9 @@
 %# END BPS TAGGED BLOCK }}}
 <select name="<%$Name%>">
 <option value="Subject"><&|/l&>Subject</&></option>
+% if ( RT->Config->Get('FullTextSearch')->{'Enable'} ) {
 <option value="Content"><&|/l&>Content</&></option>
+% }
 <option value="ContentType"><&|/l&>Content-Type</&></option>
 <option value="Filename"><&|/l&>Filename</&></option>
 </select>