1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 10:04:35 +02:00

PHP 7.1 Fixes

This commit is contained in:
Cameron
2016-12-16 11:03:45 -08:00
parent e05425fbb2
commit 851106707f
2 changed files with 8 additions and 2 deletions

View File

@@ -245,7 +245,9 @@ class e_tohtml_linkwords
// Consider next line - stripos is PHP5, and mb_stripos is PHP >= 5.2 - so may well often require handling
// while (($first < $limit) && (stripos($text,$this->word_list[$first]) === FALSE)) { $first++; }; // *utf (stripos is PHP5 - compatibility handler implements)
while (($first < $limit) && (strpos($tp->ustrtolower($text), $this->word_list[$first]) === false))
$needle = $this->word_list[$first];
while (($first < $limit) && (strpos($tp->ustrtolower($text), $needle) === false))
{
$first++;
} // *utf