PopulatePageSlugs.patch

Tobias Gaertner, 2019-09-20 09:11

Download (885 Bytes)

View differences:

web/typo3/sysext/install/Classes/Updates/PopulatePageSlugs.php (date 1568963421064)
136 136
        }
137 137

  
138 138
        $fieldConfig = $GLOBALS['TCA'][$this->table]['columns'][$this->fieldName]['config'];
139
        $fieldConfig['generatorOptions']['fields'] = ['tx_realurl_pathsegment,title'];
139 140
        $evalInfo = !empty($fieldConfig['eval']) ? GeneralUtility::trimExplode(',', $fieldConfig['eval'], true) : [];
140 141
        $hasToBeUniqueInSite = in_array('uniqueInSite', $evalInfo, true);
141 142
        $hasToBeUniqueInPid = in_array('uniqueInPid', $evalInfo, true);