aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <nickvergessen@gmx.de>2013-11-19 00:23:49 +0100
committerJoas Schilling <nickvergessen@gmx.de>2013-11-19 00:23:49 +0100
commit5fe822021bc284f756ca9361f15220dbbefb31d4 (patch)
treea79d2c3354626f294ec9db77362913227a96bb7f
parent632d6e96218c70ee89c411679304e2529efff514 (diff)
downloadforums-5fe822021bc284f756ca9361f15220dbbefb31d4.tar
forums-5fe822021bc284f756ca9361f15220dbbefb31d4.tar.gz
forums-5fe822021bc284f756ca9361f15220dbbefb31d4.tar.bz2
forums-5fe822021bc284f756ca9361f15220dbbefb31d4.tar.xz
forums-5fe822021bc284f756ca9361f15220dbbefb31d4.zip
[ticket/12023] Correctly compare the size of the array in ignore_new_files
PHPBB3-12023
-rw-r--r--phpBB/includes/functions_install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_install.php b/phpBB/includes/functions_install.php
index 10e9878cc8..deb304b838 100644
--- a/phpBB/includes/functions_install.php
+++ b/phpBB/includes/functions_install.php
@@ -569,7 +569,7 @@ function phpbb_ignore_new_file_on_update($phpbb_root_path, $file)
if (!$ignore_new_file && strpos($file, 'styles/') === 0)
{
$dirs = explode('/', $file);
- if ($dirs >= 5)
+ if (sizeof($dirs) >= 5)
{
list($styles_dir, $style_name, $template_component, $language_iso) = explode('/', $file);
if ($template_component == 'theme' && $language_iso !== 'images')