mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/17176] Resolve deprecation notices
PHPBB3-17176
This commit is contained in:
@@ -73,7 +73,7 @@ class config extends Extension
|
||||
*/
|
||||
protected function convert_30_acm_type($acm_type)
|
||||
{
|
||||
if (preg_match('#^[a-z]+$#', $acm_type))
|
||||
if (preg_match('#^[a-z]+$#', $acm_type ?? ''))
|
||||
{
|
||||
return 'phpbb\\cache\\driver\\' . $acm_type;
|
||||
}
|
||||
|
Reference in New Issue
Block a user