* Cleanup
authorMichael Stucki <michael.stucki@typo3.org>
Thu, 14 Jul 2005 12:41:45 +0000 (12:41 +0000)
committerMichael Stucki <michael.stucki@typo3.org>
Thu, 14 Jul 2005 12:41:45 +0000 (12:41 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@779 709f56b5-9817-0410-a4d7-c38de5d9e867

typo3/sysext/cms/tslib/class.tslib_content.php

index d2ed306..6f331ad 100755 (executable)
@@ -1139,7 +1139,7 @@ class tslib_cObj {
                        $res = $this->exec_getQuery($conf['table'],$conf['select.']);
                        if ($error = $GLOBALS['TYPO3_DB']->sql_error()) {
                                $GLOBALS['TT']->setTSlogMessage($error,3);
-                       } else {
+                       } else  {
                                $this->currentRecordTotal = $GLOBALS['TYPO3_DB']->sql_num_rows($res);
                                $GLOBALS['TT']->setTSlogMessage('NUMROWS: '.$GLOBALS['TYPO3_DB']->sql_num_rows($res));
                                $cObj =t3lib_div::makeInstance('tslib_cObj');
@@ -6355,7 +6355,7 @@ class tslib_cObj {
                                // removes all pages which are not visible for the user!
                        $listArr = $this->checkPidArray($listArr);
                        if (count($listArr))    {
-                           $query.=' AND '.$table.'.pid IN ('.implode(',',$GLOBALS['TYPO3_DB']->cleanIntArray($listArr)).')';
+                               $query.=' AND '.$table.'.pid IN ('.implode(',',$GLOBALS['TYPO3_DB']->cleanIntArray($listArr)).')';
                                $pid_uid_flag++;
                        } else {
                                $pid_uid_flag=0;                // If not uid and not pid then uid is set to 0 - which results in nothing!!