Created
September 29, 2017 10:08
-
-
Save etobi/71894b4f3d7e4d64882f475e2384e560 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git i/Classes/Domain/Repository/DceRepository.php w/Classes/Domain/Repository/DceRepository.php | |
index dafb5dd..fa07347 100644 | |
--- i/Classes/Domain/Repository/DceRepository.php | |
+++ w/Classes/Domain/Repository/DceRepository.php | |
@@ -166,9 +166,10 @@ class DceRepository extends \TYPO3\CMS\Extbase\Persistence\Repository | |
*/ | |
protected function processFillingFields( | |
\ArminVieweg\Dce\Domain\Model\Dce $dce, | |
- array $fieldList, | |
+ array $fieldList = null, | |
array $contentObject | |
) { | |
+ $fieldList = $fieldList ?: []; | |
foreach ($fieldList as $fieldVariable => $fieldValue) { | |
$dceField = $dce->getFieldByVariable($fieldVariable); | |
if ($dceField) { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment