diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dafb365..5a60672 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -42,9 +42,6 @@ jobs: extensions: intl, mbstring, pdo, pdo_sqlite, sqlite3, zip tools: composer:v2 - - name: Install Composer Dependencies - run: composer install - - name: Set TYPO3 Version run: composer require typo3/cms-core=${{ matrix.typo3-version }} diff --git a/Classes/Generator/Runner.php b/Classes/Generator/Runner.php index f49983c..f35eca1 100644 --- a/Classes/Generator/Runner.php +++ b/Classes/Generator/Runner.php @@ -89,7 +89,7 @@ protected function getFakerFields() } // Workaround so DataHandler doesn't set crdate to $GLOBALS['EXEC_TIME'] - if ($GLOBALS['TCA'][$this->table]['ctrl']['crdate'] && + if (isset($GLOBALS['TCA'][$this->table]['ctrl']['crdate']) && $GLOBALS['TCA'][$this->table]['ctrl']['crdate'] == $name) { unset($GLOBALS['TCA'][$this->table]['ctrl']['crdate']); } @@ -97,4 +97,4 @@ protected function getFakerFields() return $fields; } -} \ No newline at end of file +}