Project

General

Profile

Bug #19105 ยป impexp_where_clause_bug.diff

Administrator Admin, 2009-08-13 16:24

View differences:

typo3_src/typo3/sysext/impexp/app/index.php 2009-08-13 16:17:44.000000000 +0200
$presets = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
'*',
'tx_impexp_presets',
'(public>0 || user_uid='.intval($GLOBALS['BE_USER']->user['uid']).')'.
'(public>0 OR user_uid='.intval($GLOBALS['BE_USER']->user['uid']).')'.
($inData['pagetree']['id'] ? ' AND (item_uid='.intval($inData['pagetree']['id']).' OR item_uid=0)' : '')
);
-- typo3/sysext/impexp/modfunc1/class.tx_impexp_modfunc1.php.orig 2009-07-03 21:55:27.000000000 +0200
++ typo3/sysext/impexp/modfunc1/class.tx_impexp_modfunc1.php 2009-08-13 16:18:13.000000000 +0200
......
$presets = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows(
'*',
'tx_impexp_presets',
'(public>0 || user_uid='.intval($GLOBALS['BE_USER']->user['uid']).')',
'(public>0 OR user_uid='.intval($GLOBALS['BE_USER']->user['uid']).')',
'',
'item_uid DESC, title'
);
    (1-1/1)