diff options
author | Joas Schilling <coding@schilljs.com> | 2018-11-14 09:39:14 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2018-11-14 10:14:23 +0100 |
commit | aa88254f6468fb0319471a11ce2ba3235bc464a3 (patch) | |
tree | 4b5c0fce7b3fabc178eaded9d6ffffc34f3da46b /apps/comments | |
parent | fef51895c2689275805bc166bc3f5be95a836b35 (diff) | |
download | nextcloud-server-aa88254f6468fb0319471a11ce2ba3235bc464a3.tar.gz nextcloud-server-aa88254f6468fb0319471a11ce2ba3235bc464a3.zip |
Shorten index name of calendar changes table
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/comments')
-rw-r--r-- | apps/comments/composer/composer/ClassLoader.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/comments/composer/composer/ClassLoader.php b/apps/comments/composer/composer/ClassLoader.php index 95f7e0978ba..fce8549f078 100644 --- a/apps/comments/composer/composer/ClassLoader.php +++ b/apps/comments/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; } /** |