"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "public_html/lists/base/vendor/symfony/symfony/src/Symfony/Component/Form/Extension/Core/DataTransformer/ArrayToPartsTransformer.php" between
phplist-3.4.5.tgz and phplist-3.4.6.tgz

About: phpList is a one-way email announcement delivery system for newsletters, publicity lists, notifications, and many other uses (requires PHP and MySQL).

ArrayToPartsTransformer.php  (phplist-3.4.5.tgz):ArrayToPartsTransformer.php  (phplist-3.4.6.tgz)
skipping to change at line 76 skipping to change at line 76
} }
} }
} else { } else {
$emptyKeys[] = $partKey; $emptyKeys[] = $partKey;
} }
} }
if (\count($emptyKeys) > 0) { if (\count($emptyKeys) > 0) {
if (\count($emptyKeys) === \count($this->partMapping)) { if (\count($emptyKeys) === \count($this->partMapping)) {
// All parts empty // All parts empty
return; return null;
} }
throw new TransformationFailedException(sprintf('The keys "%s" shoul d not be empty', implode('", "', $emptyKeys))); throw new TransformationFailedException(sprintf('The keys "%s" shoul d not be empty', implode('", "', $emptyKeys)));
} }
return $result; return $result;
} }
} }
 End of changes. 1 change blocks. 
1 lines changed or deleted 1 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)