DrupalAPCCache::getPrefixSettingsForBin() does not correctly handle TRUE as prefix for cache bins

Created on 20 July 2024, 4 months ago
Updated 3 August 2024, 4 months ago

The module allows a site to set $conf['cache_prefix'][$bin] (where $bin is not 'default') to FALSE to mean Do not use any prefix, including the default one. TRUE could be thought to mean Use the default value. but TRUE will set the prefix to '1'.

The code should use TRUE to mean Use the default value.

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇹Italy apaderno Brescia, 🇮🇹

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024