Commit aaa9303
committed
DFRawFunctions.body.php: tagentry: fix str to int comparison
Default str to int comparison behavior was changed in php8+
https://wiki.php.net/rfc/string_to_number_comparison
with is caused undefined behavior in code.
This commit fixes it by explicitly casting str to int.1 parent 32c30df commit aaa9303
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
0 commit comments