Fixed bug #16598: Login via OpenID is impossible (Thanks to Henrik Ziegenhain)
authorSteffen Gebert <steffen.gebert@typo3.org>
Tue, 30 Nov 2010 08:18:42 +0000 (08:18 +0000)
committerSteffen Gebert <steffen.gebert@typo3.org>
Tue, 30 Nov 2010 08:18:42 +0000 (08:18 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@9680 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/openid/sv1/class.tx_openid_store.php

index a12d514..16bc4f9 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-11-30  Steffen Gebert  <steffen@steffen-gebert.de>
+
+       * Fixed bug #16598: Login via OpenID is impossible (Thanks to Henrik Ziegenhain)
+
 2010-11-29  Ernesto Baschny  <ernst@cron-it.de>
 
        * Follow-up to #15998: Fixed CGL issue with naming and added exception codes
index b433c6c..53cdc53 100644 (file)
@@ -97,8 +97,13 @@ class tx_openid_store extends Auth_OpenID_OpenIDStore {
                else {
                        $sort = 'tstamp DESC';
                }
-               $row = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('uid, content',
-                       self::ASSOCIATION_TABLE_NAME, $where, '', $sort, '1');
+               $row = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow(
+                       'uid, content',
+                       self::ASSOCIATION_TABLE_NAME,
+                       $where,
+                       '',
+                       $sort
+               );
 
                $result = null;
                if (is_array($row)) {