nickdunn/search_index — pull request #31 by vlad-ghita (2011-12-06 13:25:34+00:00)
Title: Fixed the substr(...) method.

There are some places where `SearchIndex::substr($str, $pos, $length)` is used without `$length` parameter, thus resulting in fatal error.

The fix defaults `$length` to null and continues execution accordingly.