diff --git a/typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php b/typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php
index 1f24f6e3d53ebe6c94d94dbcc177d8d93b72161e..80c7edb600b7662da6126da6d167020be731e223 100644
--- a/typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php
+++ b/typo3/sysext/wizard_crpages/Classes/Controller/CreatePagesWizardModuleFunctionController.php
@@ -277,5 +277,4 @@ class CreatePagesWizardModuleFunctionController extends \TYPO3\CMS\Backend\Modul
 
 }
 
-
 ?>
\ No newline at end of file
diff --git a/typo3/sysext/wizard_crpages/ext_tables.php b/typo3/sysext/wizard_crpages/ext_tables.php
index 305fe355139e20316f1c88f9cc560196ca6a0e77..e0499762be02a1edddccf87ca71fdc3cb2b7f74a 100755
--- a/typo3/sysext/wizard_crpages/ext_tables.php
+++ b/typo3/sysext/wizard_crpages/ext_tables.php
@@ -2,8 +2,18 @@
 if (!defined('TYPO3_MODE')) {
 	die('Access denied.');
 }
-if (TYPO3_MODE == 'BE') {
-	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction('web_func', 'TYPO3\\CMS\\WizardCrpages\\Controller\\CreatePagesWizardModuleFunctionController', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.tx_wizardcrpages_webfunc_2.php', 'LLL:EXT:wizard_crpages/locallang.php:wiz_crMany', 'wiz');
-	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:wizard_crpages/locallang_csh.xml');
+if (TYPO3_MODE === 'BE') {
+	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
+		'web_func',
+		'TYPO3\\CMS\\WizardCrpages\\Controller\\CreatePagesWizardModuleFunctionController',
+		\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/Controller/CreatePagesWizardModuleFunctionController.php',
+		'LLL:EXT:wizard_crpages/locallang.xlf:wiz_crMany',
+		'wiz'
+	);
+
+	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
+		'_MOD_web_func',
+		'EXT:wizard_crpages/locallang_csh.xlf'
+	);
 }
 ?>
\ No newline at end of file
diff --git a/typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php b/typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php
index 9d9f89ca9259f4a0d0f630accc63f9cab7f55c29..5069d6c466a147bf06698f88b00613973f790d4a 100644
--- a/typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php
+++ b/typo3/sysext/wizard_sortpages/Classes/View/SortPagesWizardModuleFunction.php
@@ -26,6 +26,7 @@ namespace TYPO3\CMS\WizardSortpages\View;
  *
  *  This copyright notice MUST APPEAR in all copies of the script!
  ***************************************************************/
+
 /**
  * Creates the "Sort pages" wizard
  *
@@ -63,9 +64,9 @@ class SortPagesWizardModuleFunction extends \TYPO3\CMS\Backend\Module\AbstractFu
 			if ($sortByField) {
 				$menuItems = array();
 				if (\TYPO3\CMS\Core\Utility\GeneralUtility::inList('title,subtitle,crdate,tstamp', $sortByField)) {
-					$menuItems = $sys_pages->getMenu($this->pObj->id, 'uid,pid,title', $sortByField, '', 0);
+					$menuItems = $sys_pages->getMenu($this->pObj->id, 'uid,pid,title', $sortByField, '', FALSE);
 				} elseif ($sortByField == 'REV') {
-					$menuItems = $sys_pages->getMenu($this->pObj->id, 'uid,pid,title', 'sorting', '', 0);
+					$menuItems = $sys_pages->getMenu($this->pObj->id, 'uid,pid,title', 'sorting', '', FALSE);
 					$menuItems = array_reverse($menuItems);
 				}
 				if (count($menuItems)) {
@@ -81,7 +82,7 @@ class SortPagesWizardModuleFunction extends \TYPO3\CMS\Backend\Module\AbstractFu
 					\TYPO3\CMS\Backend\Utility\BackendUtility::setUpdateSignal('updatePageTree');
 				}
 			}
-			$menuItems = $sys_pages->getMenu($this->pObj->id, '*', 'sorting', '', 0);
+			$menuItems = $sys_pages->getMenu($this->pObj->id, '*', 'sorting', '', FALSE);
 
 			if (count($menuItems)) {
 				$lines = array();
diff --git a/typo3/sysext/wizard_sortpages/ext_tables.php b/typo3/sysext/wizard_sortpages/ext_tables.php
index 507cd7495ae7bc671960fee6d8d5f3e182565557..9c07c4984179f3615f787efe292b41ff0fa707c5 100755
--- a/typo3/sysext/wizard_sortpages/ext_tables.php
+++ b/typo3/sysext/wizard_sortpages/ext_tables.php
@@ -2,8 +2,17 @@
 if (!defined('TYPO3_MODE')) {
 	die('Access denied.');
 }
-if (TYPO3_MODE == 'BE') {
-	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction('web_func', 'TYPO3\\CMS\\WizardSortPages\\View\\SortPagesWizardModuleFunction', \TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'class.tx_wizardsortpages_webfunc_2.php', 'LLL:EXT:wizard_sortpages/locallang.php:wiz_sort', 'wiz');
-	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr('_MOD_web_func', 'EXT:wizard_sortpages/locallang_csh.xml');
+if (TYPO3_MODE === 'BE') {
+	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::insertModuleFunction(
+		'web_func',
+		'TYPO3\\CMS\\WizardSortPages\\View\\SortPagesWizardModuleFunction',
+		\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::extPath($_EXTKEY) . 'Classes/View/SortPagesWizardModuleFunction.php',
+		'LLL:EXT:wizard_sortpages/locallang.php:wiz_sort',
+		'wiz'
+	);
+	\TYPO3\CMS\Core\Utility\ExtensionManagementUtility::addLLrefForTCAdescr(
+		'_MOD_web_func',
+		'EXT:wizard_sortpages/locallang_csh.xlf'
+	);
 }
 ?>
\ No newline at end of file