diff --git a/Classes/DirectMailUtility.php b/Classes/DirectMailUtility.php index c27ce96aa..de7ae4b42 100644 --- a/Classes/DirectMailUtility.php +++ b/Classes/DirectMailUtility.php @@ -133,7 +133,7 @@ public static function fetchUrlContentsForDirectMailRecord(array $row, array $pa $htmlmail->setJumperURLPrefix( $urls['baseUrl'] . $glue . 'mid=###SYS_MAIL_ID###' . - ((int)$params['jumpurl_tracking_privacy'] ? '' : '&rid=###SYS_TABLE_NAME###_###USER_uid###') . + (isset($params['jumpurl_tracking_privacy']) && (int)$params['jumpurl_tracking_privacy'] ? '' : '&rid=###SYS_TABLE_NAME###_###USER_uid###') . '&aC=###SYS_AUTHCODE###' . '&jumpurl=' ); diff --git a/Classes/Module/MainController.php b/Classes/Module/MainController.php index d76ae5a08..3b49f061b 100644 --- a/Classes/Module/MainController.php +++ b/Classes/Module/MainController.php @@ -445,7 +445,6 @@ protected function getRecursiveSelect($id, $perms_clause) $tree = GeneralUtility::makeInstance(PageTreeView::class); $tree->init('AND ' . $perms_clause); $tree->makeHTML = 0; - $tree->setRecs = 0; $tree->getTree($id, $getLevels, ''); return $tree->ids;