Commit 94cad30
[BUGFIX] Add typecast to avoid TypeError
Cast the file type to an integer to avoid exceptions dealing with
strings.
Related: #106422
Resolves: #106528
Releases: main, 13.4
Change-Id: Idb5b2db28399bbfefb3263694ef619815ac1f0fc
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/88999
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Tested-by: core-ci <typo3@b13.com>1 parent e11cdce commit 94cad30
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
307 | 307 | | |
308 | 308 | | |
309 | 309 | | |
310 | | - | |
| 310 | + | |
311 | 311 | | |
312 | 312 | | |
313 | 313 | | |
| |||
0 commit comments