includes/search.php
changeset 391 85f91037cd4f
parent 387 92664d2efab8
child 411 d1a95497b68f
--- a/includes/search.php	Tue Jan 29 17:29:08 2008 -0500
+++ b/includes/search.php	Tue Jan 29 23:15:44 2008 -0500
@@ -168,7 +168,7 @@
   if ( count($query['any']) < 1 && count($query['req']) < 1 && count($query_phrase['any']) < 1 && count($query_phrase['req']) < 1 )
   {
     // This is both because of technical restrictions and devastation that would occur on shared servers/large sites.
-    $warnings[] = 'You need to have at least one keyword in your search query. Searching only for pages not containing a term is not allowed.';
+    $warnings[] = $lang->get('search_err_query_no_positive');
     return array();
   }