Skip to content

Commit

Permalink
[RELEASE] 4.1.2
Browse files Browse the repository at this point in the history
- Bugfix: Nested rootlines are not respected (thanks to @kraemer-ig 4.1.2
  • Loading branch information
pascal20997 committed Nov 28, 2018
1 parent f547b86 commit 9f5f75b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Classes/AvalexPlugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ protected function getRootForCurrentPage()
$currentPageUid = $this->getTypoScriptFrontendController()->id;
$rootLine = $pageRepository->getRootLine($currentPageUid);
$rootPageUid = 0;
while ($page = array_pop($rootLine)) {
foreach ($rootLine as $page) {
if ($page['is_siteroot']) {
$rootPageUid = $page['uid'];
break;
Expand Down
6 changes: 3 additions & 3 deletions ext_emconf.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
########################################################################
# Extension Manager/Repository config file for ext "avalex".
#
# Auto generated 22-11-2018 09:46
# Auto generated 28-11-2018 10:31
#
# Manual updates:
# Only the data in the array - everything else is removed by next
Expand All @@ -21,7 +21,7 @@
'uploadfolder' => '',
'createDirs' => '',
'clearCacheOnLoad' => 0,
'version' => '4.1.1',
'version' => '4.1.2',
'constraints' => array(
'depends' => array(
'typo3' => '4.3.0-6.1.99',
Expand All @@ -34,7 +34,7 @@
),
),
'clearcacheonload' => '',
'_md5_values_when_last_written' => 'a:17:{s:16:"ext_autoload.php";s:4:"1bc1";s:12:"ext_icon.gif";s:4:"5c06";s:17:"ext_localconf.php";s:4:"886d";s:14:"ext_tables.php";s:4:"87dd";s:14:"ext_tables.sql";s:4:"2c7f";s:24:"Classes/AvalexPlugin.php";s:4:"6f62";s:48:"Classes/Domain/Repository/AbstractRepository.php";s:4:"7ea2";s:59:"Classes/Domain/Repository/AvalexConfigurationRepository.php";s:4:"e035";s:49:"Classes/Domain/Repository/LegalTextRepository.php";s:4:"a9b0";s:41:"Classes/Exception/InvalidUidException.php";s:4:"d4b5";s:29:"Classes/Hooks/DataHandler.php";s:4:"9ccc";s:29:"Classes/Task/ImporterTask.php";s:4:"36fd";s:30:"Classes/Utility/ApiUtility.php";s:4:"da91";s:45:"Configuration/TCA/tx_avalex_configuration.php";s:4:"fc54";s:41:"Configuration/TCA/tx_avalex_legaltext.php";s:4:"e165";s:40:"Resources/Private/Language/locallang.xml";s:4:"9bbb";s:43:"Resources/Private/Language/locallang_db.xml";s:4:"ee7c";}',
'_md5_values_when_last_written' => 'a:17:{s:16:"ext_autoload.php";s:4:"1bc1";s:12:"ext_icon.gif";s:4:"5c06";s:17:"ext_localconf.php";s:4:"886d";s:14:"ext_tables.php";s:4:"87dd";s:14:"ext_tables.sql";s:4:"2c7f";s:24:"Classes/AvalexPlugin.php";s:4:"9dff";s:48:"Classes/Domain/Repository/AbstractRepository.php";s:4:"7ea2";s:59:"Classes/Domain/Repository/AvalexConfigurationRepository.php";s:4:"e035";s:49:"Classes/Domain/Repository/LegalTextRepository.php";s:4:"a9b0";s:41:"Classes/Exception/InvalidUidException.php";s:4:"d4b5";s:29:"Classes/Hooks/DataHandler.php";s:4:"9ccc";s:29:"Classes/Task/ImporterTask.php";s:4:"36fd";s:30:"Classes/Utility/ApiUtility.php";s:4:"da91";s:45:"Configuration/TCA/tx_avalex_configuration.php";s:4:"fc54";s:41:"Configuration/TCA/tx_avalex_legaltext.php";s:4:"e165";s:40:"Resources/Private/Language/locallang.xml";s:4:"9bbb";s:43:"Resources/Private/Language/locallang_db.xml";s:4:"ee7c";}',
);

?>

0 comments on commit 9f5f75b

Please sign in to comment.