This may have been escaped at line 196 already 

its better to add 

```$text = $db->Quote('%' . $db->escape($text, true) . '%', false);```
after 
```$words = explode(' ', $text);```
at line 208