unnecessary string concatenation

This commit is contained in:
El RIDO 2023-01-15 14:45:10 +01:00
parent bf7d2f05b6
commit 3a4e5ed0c9
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92

View file

@ -445,8 +445,8 @@ class Controller
} }
if ($type === 'types') { if ($type === 'types') {
$content = str_replace( $content = str_replace(
'"' . implode('", "', array_keys($this->_conf->getDefaults()['expire_options'])) . '"', implode('", "', array_keys($this->_conf->getDefaults()['expire_options'])),
'"' . implode('", "', array_keys($this->_conf->getSection('expire_options'))) . '"', implode('", "', array_keys($this->_conf->getSection('expire_options'))),
$content $content
); );
} }