mirror of
https://github.com/e107inc/e107.git
synced 2025-08-21 05:41:58 +02:00
Code optimization for speed and reduced memory usage.
This commit is contained in:
@@ -272,7 +272,7 @@ class e_search
|
||||
$this -> text = $row[$field];
|
||||
foreach ($this -> keywords['match'] as $k_key => $this -> query)
|
||||
{
|
||||
if (stristr($this -> text, $this -> query) !== FALSE)
|
||||
if (stripos($this->text, $this->query) !== false)
|
||||
{
|
||||
if ($this -> keywords['exact'][$k_key] || $this -> keywords['boolean'][$k_key])
|
||||
{
|
||||
|
Reference in New Issue
Block a user