Home
last modified time | relevance | path

Searched hist:"2 e98afbd63bb01a078506b85a70a372b7f5fd216" (Results 1 – 1 of 1) sorted by relevance

/template/sprintdoc/
H A Dtpl.php2e98afbd63bb01a078506b85a70a372b7f5fd216 Sun Oct 09 14:30:41 UTC 2022 fiwswe <53953985+fiwswe@users.noreply.github.com> Correctly interpret result of strpos(…)

if `%s` happens to be at the start of the string then `strpos(…, '%s')` returns `0`. That evaluates to false in an `if` statement. Thus the replacement will not be applied in that case.
See https://github.com/splitbrain/dokuwiki/pull/3790 for a probable similar issue.