Fixed bug #6032: Freeing SQL result sets (post patch)
authorOliver Hader <oliver.hader@typo3.org>
Mon, 8 Oct 2007 07:19:39 +0000 (07:19 +0000)
committerOliver Hader <oliver.hader@typo3.org>
Mon, 8 Oct 2007 07:19:39 +0000 (07:19 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@2540 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_page.php

index ae6b5c0..f5d3cea 100755 (executable)
@@ -791,8 +791,6 @@ class t3lib_pageSelect {
                        $GLOBALS['TYPO3_DB']->sql_free_result($res);
                        if ($row)       {
                                $this->versionOL($table,$row);
-                               $GLOBALS['TYPO3_DB']->sql_free_result($res);
-
                                if (is_array($row))     {
                                        if ($checkPage) {
                                                $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid', 'pages', 'uid='.intval($row['pid']).$this->enableFields('pages'));