Follow-up to #13470: split() is deprecated, using t3lib_div::trimExplode instead
authorErnesto Baschny <ernst@cron-it.de>
Thu, 25 Feb 2010 15:53:48 +0000 (15:53 +0000)
committerErnesto Baschny <ernst@cron-it.de>
Thu, 25 Feb 2010 15:53:48 +0000 (15:53 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-2@7036 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_userauth.php

index 42e6b25..0a54e50 100755 (executable)
@@ -342,7 +342,7 @@ class t3lib_userAuth {
                if (isset($_SERVER['HTTP_COOKIE'])) {
                        $cookies = t3lib_div::trimExplode(';', $_SERVER['HTTP_COOKIE']);
                        foreach ($cookies as $cookie) {
-                               list ($name, $value) = split('=', $cookie);
+                               list ($name, $value) = t3lib_div::trimExplode('=', $cookie);
                                if ($name == $cookieName) {
                                        // Use the last one
                                        $cookieValue = stripslashes($value);