diff options
author | Morris Jobke <hey@morrisjobke.de> | 2018-11-15 15:44:52 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-15 15:44:52 +0100 |
commit | d1e50a10e3171836abb7120270cd31063106953f (patch) | |
tree | 6c412d7557b917cc8e34066d1684d8bd1a121468 /lib | |
parent | 7781485fb7462f1c75c8f8ebd3470dd4e4f1e1be (diff) | |
parent | 5bd5dc28228b481700c844a6ca950b752ba893b4 (diff) | |
download | nextcloud-server-14.0.4RC1.tar.gz nextcloud-server-14.0.4RC1.zip |
Merge pull request #12436 from nextcloud/version/noid/14.0.4RC1v14.0.4RC1
14.0.4 RC 1
Diffstat (limited to 'lib')
-rw-r--r-- | lib/composer/composer/ClassLoader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/composer/composer/ClassLoader.php b/lib/composer/composer/ClassLoader.php index 95f7e0978ba..fce8549f078 100644 --- a/lib/composer/composer/ClassLoader.php +++ b/lib/composer/composer/ClassLoader.php @@ -279,7 +279,7 @@ class ClassLoader */ public function setApcuPrefix($apcuPrefix) { - $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null; + $this->apcuPrefix = function_exists('apcu_fetch') && filter_var(ini_get('apc.enabled'), FILTER_VALIDATE_BOOLEAN) ? $apcuPrefix : null; } /** |