We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7308f43 commit a20439eCopy full SHA for a20439e
src/SWP/Bundle/ContentBundle/Model/Article.php
@@ -533,6 +533,8 @@ public function setExtraFields(array $extra): void
533
}
534
535
foreach ($extra as $key => $value) {
536
+ // Ensure field name is always a string, even for numeric-looking keys
537
+ $key = (string) $key;
538
if (is_array($value)) {
539
$this->addEmbedExtra(ArticleExtraEmbedField::newFromValue($key, $value));
540
} else {
0 commit comments