Commit 38d89d8
committed
Fixed strpos: ending parentheses is in incorrect location
Fixed the current implementation of strpos, it currently looked like this
`strpos($to_escape, "'" != false))` incorrectly passes `"'" != false` as the second argument.
Changed it to `if (strpos($to_escape, '"') !== false && strpos($to_escape, "'") !== false) {`1 parent 44feb1a commit 38d89d8
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
259 | 259 | | |
260 | 260 | | |
261 | 261 | | |
262 | | - | |
| 262 | + | |
263 | 263 | | |
264 | 264 | | |
265 | 265 | | |
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
0 commit comments