viewgit/inc/functions.php:22 Function utf8_encode() is deprecated [8192]

Attempt to reduce query retrieval time by sending less data in raw=1 case take 8, a=chris

Chris Pollett [2019-07-11 19:Jul:th]
Attempt to reduce query retrieval time by sending less data in raw=1 case take 8, a=chris
Filename
src/models/PhraseModel.php
diff --git a/src/models/PhraseModel.php b/src/models/PhraseModel.php
index 9a1746fed..e0d11a84c 100755
--- a/src/models/PhraseModel.php
+++ b/src/models/PhraseModel.php
@@ -1265,6 +1265,7 @@ class PhraseModel extends ParallelModel
                 $pages[$i][self::PROXIMITY] = number_format(
                     $p[self::PROXIMITY],4);
                 unset($pages[$i][self::DESCRIPTION_SCORES]);
+                $i++;
             }
             $results['PAGES'] = & $pages;
             if ($old_to_retrieve != $to_retrieve) {
ViewGit