Home
last modified time | relevance | path

Searched hist:"2082444 ca07e8dcf27d097b644043821400a9ddf" (Results 1 – 1 of 1) sorted by relevance

/dokuwiki/inc/
H A Dpageutils.php2082444ca07e8dcf27d097b644043821400a9ddf Sat Mar 07 13:42:15 UTC 2026 Andreas Gohr <andi@splitbrain.org> avoid using null as cache key

Sometime null is passed as revision to wikiFN. This should not happen
but we're not very strict about the type here. Any falsy value is the
current revision. But using null as an array key is deprecated. Also
using different falsy values would also result in different caches, even
though the same revision is meant. So this casts all revisions to
integer and falsy values will be 0 now, solving both issues.