Follow-up to issue #10614: Fixed typing error in memcached backend
authorOliver Hader <oliver.hader@typo3.org>
Tue, 10 Mar 2009 19:45:00 +0000 (19:45 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Tue, 10 Mar 2009 19:45:00 +0000 (19:45 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5171 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
t3lib/cache/backend/class.t3lib_cache_backend_memcachedbackend.php

index c39d6aa..b68b931 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
 
        * Cleanup: Updated NEWS.txt
        * Follow-up to issue #10614: File backend of caching framework did not work on Windows systems
+       * Follow-up to issue #10614: Fixed typing error in memcached backend (thanks to Xavier Perseguers)
 
 2009-03-10  Francois Suter  <francois@typo3.org>
 
index d99191d..5911ce7 100644 (file)
@@ -134,7 +134,7 @@ class t3lib_cache_backend_MemcachedBackend extends t3lib_cache_backend_AbstractB
                                $port = 0;
                        } else {
                                if (substr($serverConfiguration, 0, 6) === 'tcp://') {
-                                       $server = substr($serverConfiguration, 6);
+                                       $serverConfiguration = substr($serverConfiguration, 6);
                                }
                                if (strstr($serverConfiguration, ':') !== FALSE) {
                                        list($host, $port) = explode(':', $serverConfiguration, 2);