Commit 09ccf57
[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/+/88995
Tested-by: core-ci <typo3@b13.com>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Oliver Klee <typo3-coding@oliverklee.de>
Reviewed-by: Christian Kuhn <lolli@schwarzbu.ch>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Christian Kuhn <lolli@schwarzbu.ch>1 parent 9b9861b commit 09ccf57
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
243 | | - | |
| 243 | + | |
244 | 244 | | |
245 | 245 | | |
246 | 246 | | |
| |||
0 commit comments