# This patch file was generated by NetBeans IDE
# It uses platform neutral UTF-8 encoding and \n newlines.
--- AdminPanelView.php (2171bf8)
+++ Current File
@@ -614,11 +614,11 @@
$params = '&edit[pages][' . $id . ']=edit';
$toolBar .= '' . '
';
if ($GLOBALS['TSFE']->sys_language_uid && $langAllowed) {
- $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid,pid,t3ver_state', 'sys_language_overlay', 'pid=' . intval($id) . ' AND sys_language_uid=' . $GLOBALS['TSFE']->sys_language_uid . $GLOBALS['TSFE']->sys_page->enableFields('sys_language_overlay'), '', '', '1');
+ $res = $GLOBALS['TYPO3_DB']->exec_SELECTquery('uid,pid,t3ver_state', 'sys_language', 'pid=' . intval($id) . ' AND uid=' . $GLOBALS['TSFE']->sys_language_uid . $GLOBALS['TSFE']->sys_page->enableFields('sys_language'), '', '', '1');
$row = $GLOBALS['TYPO3_DB']->sql_fetch_assoc($res);
- $GLOBALS['TSFE']->sys_page->versionOL('sys_language_overlay', $row);
+ $GLOBALS['TSFE']->sys_page->versionOL('sys_language', $row);
if (is_array($row)) {
- $params = '&edit[sys_language_overlay][' . $row['uid'] . ']=edit';
\ No newline at end of file
+ $params = '&edit[sys_language][' . $row['uid'] . ']=edit';
\ No newline at end of file
$toolBar .= '' . '
';
}
}