At least 2 characters in the search

Hi

What kind of change should be done in the code


      // For keywords less than 3 characters, bypass fulltext..
      if (strlen($thisSearchTerm)<0) {
        $sCount   = rowCount('pages',' WHERE title LIKE \'%'.safeImport($thisSearchTerm).'%\' OR description LIKE \'%'.safeImport($thisSearchTerm).'%\' OR keywords LIKE \'%'.safeImport($thisSearchTerm).'%\'');.........................


in the 75-76-77. lines of search.php file to search with at least 2 characters in the search and get a result?

Thanks

View Topic