diff options
author | Andrew Dolgov <[email protected]> | 2013-05-31 09:52:43 +0400 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2013-05-31 09:52:43 +0400 |
commit | 7c01db43efb8269f053589e0e94bdccf8f498047 (patch) | |
tree | 9dcfec4711a1a33b54e3cb73d972672716d06be4 /include | |
parent | 2457679aedf67f3fc9afb78fc9f888d495171511 (diff) |
sphinx: type cast port to integer
Diffstat (limited to 'include')
-rw-r--r-- | include/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/functions.php b/include/functions.php index a4b604e7d..32ec8815f 100644 --- a/include/functions.php +++ b/include/functions.php @@ -3809,7 +3809,7 @@ $sphinxpair = explode(":", SPHINX_SERVER, 2); - $sphinxClient->SetServer($sphinxpair[0], $sphinxpair[1]); + $sphinxClient->SetServer($sphinxpair[0], (int)$sphinxpair[1]); $sphinxClient->SetConnectTimeout(1); $sphinxClient->SetFieldWeights(array('title' => 70, 'content' => 30, |