[TYPO3-dev] Move up/down in frontend
Tapio Markula
tapio.markula at atwebteam.com
Thu Oct 12 10:03:40 CEST 2006
Hi
What is the idea of this change
Typo 4.0.1
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'uid,pid',
$table,
'pid='.intval($row['pid']).
' AND '.$sortField.$op.intval($row[$sortField]).
$copyAfterFieldsQuery.
$GLOBALS['TSFE']->sys_page->enableFields($table,'',$ignore),
'',
$sortField.$desc,
'2'
Older:
$res = $GLOBALS['TYPO3_DB']->exec_SELECTquery(
'uid,pid',
$table,
'pid='.intval($row['pid']).
' AND '.$sortField.$op.intval($row[$sortField]).
$copyAfterFieldsQuery.
t3lib_pageSelect::enableFields($table,'',$ignore),
'',
$sortField.$desc,
'2'
);
difference in one row
The change cause error message
Fatal error: Call to a member function enableFields() on a non-object in
/var/www/customers/tyouupumuskeskus/public_html/t3lib/class.t3lib_tsfebeuserauth.php
on line 1068
used with my evaluation verion of tm_contentaccess.
Making an XCLASS which force to use the older version,
the error message disappeared and move up/down worked again.
Can I safely force to use the older version?
If I want to make it compatible with mk_tvfrontend I must add
redefine
function extEditAction()
But I can't understand changes, which just cause error messages.
More information about the TYPO3-dev
mailing list