Simple Machines Community Forum

SMF Development => Bug Reports => Fixed or Bogus Bugs => Topic started by: vbgamer45 on June 24, 2017, 07:08:53 PM

Title: SMF 2.0.x missing global $smcFunc SearchAPI-Fulltext.php
Post by: vbgamer45 on June 24, 2017, 07:08:53 PM
SMF 2.0.x missing global $smcFunc

Open Sources/SearchAPI-Fulltext.php
find

// Do we have to do some work with the words we are searching for to prepare them?
public function prepareIndexes($word, &$wordsSearch, &$wordsExclude, $isExcluded)
{
global $modSettings;

Change to

// Do we have to do some work with the words we are searching for to prepare them?
public function prepareIndexes($word, &$wordsSearch, &$wordsExclude, $isExcluded)
{
global $modSettings, $smcFunc;

Title: Re: SMF 2.0.x missing global $smcFunc SearchAPI-Fulltext.php
Post by: shawnb61 on December 23, 2019, 10:11:51 AM
This was fixed in 2.0.15.