Skip to content

Commit

Permalink
Update allowed image types (#899)
Browse files Browse the repository at this point in the history
['jpg','png','svg'] causes: PHP Warning: Array to string conversion in /var/www/html/vendor/typo3/cms-backend/Classes/Form/FieldControl/ElementBrowser.php line 77
  • Loading branch information
misterboe authored Jan 10, 2024
1 parent 721230d commit 2c2c7e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Documentation/ColumnsConfig/Type/File/Index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ Another example without usage of the API method would therefore look like this:
'label' => 'My image',
'config' => [
'type' => 'file',
'allowed' => ['jpg','png','gif'],
'allowed' => 'jpg,png,gif',
],
],
],
Expand Down

0 comments on commit 2c2c7e5

Please sign in to comment.