--- C:\diff\old\class.tx_rlmptmplselector_addfilestosel.php Mon Apr 30 16:00:19 2007 +++ C:\diff\new\class.tx_rlmptmplselector_addfilestosel.php Wed May 02 11:10:47 2007 @@ -46,6 +46,10 @@ // GETTING configuration from the object tree (thanks to Ingmar Schlecht!) $thePageId = $params["row"]["uid"]; // get the page ID here! + $tmpRes = t3lib_BEfunc::getLiveVersionOfRecord('pages',$thePageId); + if ($tmpRes) { + $thePageId = $tmpRes['uid']; + } $template = t3lib_div::makeInstance("t3lib_tsparser_ext"); // Defined global here! $template->tt_track = 0; // Do not log time-performance information