Made SQL query in versionizeRecord() conform to DBAL (use OR instead of ||).
[Packages/TYPO3.CMS.git] / 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'