diff --git a/doc/CODING.md b/doc/CODING.md index 49244e3450ce3e45b01b4d75da5d94f2ee4a8ac8..11ca848d125d9d675202b8b972867a52dc6ff712 100644 --- a/doc/CODING.md +++ b/doc/CODING.md @@ -60,7 +60,7 @@ LOAD * The PHP code api/save.php, api/load.php is called directly, without any TYPO3 Framework. Therefore the Typo3 information 'pageId', 'feUser*', 'beUser*', 'ttContentUid', ... is not available. * *Form load*: an additional hidden Formelement '_sipForTypo3Vars' will be created with a subset of the current - STORE_TYPO3 values. The workaround with the SIP is usefull, cause the same form can be shown on different places (QFQ records) - + STORE_TYPO3 values. The workaround with the SIP is useful, cause the same form can be shown on different places (QFQ records) - this is not very likely, but might happen. The 'on the fly rendered' SIP helps to deliver the status. AbstractBuildForm.php: process() > prepareT3VarsForSave() > Store.php: copyT3VarsToSip(); * *Form save*: FillStoreForm.php: process() > Store: fillTypo3StoreFromSip() diff --git a/extension/Source/core/QuickFormQuery.php b/extension/Source/core/QuickFormQuery.php index 8c14d97e05a64653cce36ff06ca68eb400d907cb..4e2b252e778054817b44f7aa2ebc9131ba6fd751 100644 --- a/extension/Source/core/QuickFormQuery.php +++ b/extension/Source/core/QuickFormQuery.php @@ -656,7 +656,7 @@ class QuickFormQuery { * * '$this->formSpec[F_FORWARD_PAGE]': * a) url http://www.nzz.ch/index.html?a=123#bottom, website.html?a=123#bottom, - * ?<T3 Alias pageid>&a=123#bottom, ?id=<T3 page id>&a=123#bottom + * ?[id=]<T3 Alias pageid>&a=123#bottom, ?id=<T3 page id>&a=123#bottom * b) mode no|client|url|... * c) mode|url combination of above * @@ -669,7 +669,7 @@ class QuickFormQuery { */ private function setForwardModePage() { - if ('url' != substr($this->formSpec[F_FORWARD_MODE], 0, 3)) { + if (F_FORWARD_MODE_URL != substr($this->formSpec[F_FORWARD_MODE], 0, 3)) { return false; } diff --git a/extension/Source/core/store/Store.php b/extension/Source/core/store/Store.php index 9e32bea39e8e5bfada1ef132677ce0ed0f298a34..325c34f592b618f478c85910737ddb96199deab2 100644 --- a/extension/Source/core/store/Store.php +++ b/extension/Source/core/store/Store.php @@ -844,7 +844,7 @@ class Store { $tempArray = self::getStore(STORE_TYPO3); - foreach ([TYPO3_FE_USER, TYPO3_FE_USER_UID, TYPO3_FE_USER_GROUP, TYPO3_TT_CONTENT_UID, TYPO3_PAGE_ID, TYPO3_PAGE_TYPE, TYPO3_PAGE_LANGUAGE, TYPO3_BE_USER_LOGGED_IN] as $key) { + foreach ([TYPO3_FE_USER, TYPO3_FE_USER_UID, TYPO3_FE_USER_GROUP, TYPO3_TT_CONTENT_UID, TYPO3_PAGE_ID, TYPO3_PAGE_ALIAS, TYPO3_PAGE_TYPE, TYPO3_PAGE_LANGUAGE, TYPO3_BE_USER_LOGGED_IN] as $key) { if (isset($tempArray[$key])) { $t3varsArray[$key] = $tempArray[$key]; }