summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Andreev <narf@devilix.net>2018-06-15 12:48:53 +0200
committerAndrey Andreev <narf@devilix.net>2018-06-15 12:48:53 +0200
commit800a20d6c4662d99ae0988b2f8f2238bb8bb29db (patch)
tree71117ba027f54014ef7305b255ea1334c160abd9
parent44f53fb063eed55c79d31d0d19eef7ba973b6054 (diff)
[ci skip] Fix #5526
-rw-r--r--system/libraries/Session/drivers/Session_memcached_driver.php2
-rw-r--r--user_guide_src/source/changelog.rst3
2 files changed, 4 insertions, 1 deletions
diff --git a/system/libraries/Session/drivers/Session_memcached_driver.php b/system/libraries/Session/drivers/Session_memcached_driver.php
index 7d8e39022..9e8116885 100644
--- a/system/libraries/Session/drivers/Session_memcached_driver.php
+++ b/system/libraries/Session/drivers/Session_memcached_driver.php
@@ -305,7 +305,7 @@ class CI_Session_memcached_driver extends CI_Session_driver implements SessionHa
*/
public function validateId($id)
{
- $this->_memcached-get($this->_key_prefix.$id);
+ $this->_memcached->get($this->_key_prefix.$id);
return ($this->_memcached->getResultCode() === Memcached::RES_SUCCESS);
}
diff --git a/user_guide_src/source/changelog.rst b/user_guide_src/source/changelog.rst
index 4780505f5..c983f1b5c 100644
--- a/user_guide_src/source/changelog.rst
+++ b/user_guide_src/source/changelog.rst
@@ -5,7 +5,10 @@ Change Log
Version 3.1.10
==============
+Bug fixes for 3.1.10
+--------------------
+- Fixed a bug (#5526) - :doc:`Session Library <libraries/sessions>` had a syntax error in its 'memcached' driver.
Version 3.1.9
=============