Made SQL query in versionizeRecord() conform to DBAL (use OR instead of ||).
authorKarsten Dambekalns <karsten.dambekalns@typo3.org>
Wed, 28 Jun 2006 11:04:10 +0000 (11:04 +0000)
committerKarsten Dambekalns <karsten.dambekalns@typo3.org>
Wed, 28 Jun 2006 11:04:10 +0000 (11:04 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@1534 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tcemain.php

index 8cb5e39..03fa28b 100755 (executable)
@@ -3302,7 +3302,7 @@ class t3lib_TCEmain       {
                                                                $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
                                                                        't3ver_id',
                                                                        $table,
-                                                                       '(t3ver_oid='.$id.' || uid='.$id.')'.$this->deleteClause($table),
+                                                                       '(t3ver_oid='.$id.' OR uid='.$id.')'.$this->deleteClause($table),
                                                                        '',
                                                                        't3ver_id DESC',
                                                                        '1'