aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_admin.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-08-23 15:46:10 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-08-23 15:46:10 +0000
commitd1ae8c52a4fc4ab88f34347962ac667a0365f8a9 (patch)
tree54519d3fd664c8ef1a0b6caf545d72e0dd12efdf /phpBB/includes/functions_admin.php
parente6e1be982771f9604c4316cffaa7ccea5a9010f7 (diff)
downloadforums-d1ae8c52a4fc4ab88f34347962ac667a0365f8a9.tar
forums-d1ae8c52a4fc4ab88f34347962ac667a0365f8a9.tar.gz
forums-d1ae8c52a4fc4ab88f34347962ac667a0365f8a9.tar.bz2
forums-d1ae8c52a4fc4ab88f34347962ac667a0365f8a9.tar.xz
forums-d1ae8c52a4fc4ab88f34347962ac667a0365f8a9.zip
colour is a string. :)
git-svn-id: file:///svn/phpbb/trunk@6316 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions_admin.php')
-rw-r--r--phpBB/includes/functions_admin.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_admin.php b/phpBB/includes/functions_admin.php
index 73022aa2a3..bb889eae12 100644
--- a/phpBB/includes/functions_admin.php
+++ b/phpBB/includes/functions_admin.php
@@ -1476,7 +1476,7 @@ function sync($mode, $where_type = '', $where_ids = '', $resync_parents = false,
{
if ($row['forum_' . $fieldname] != $row[$fieldname])
{
- if (preg_match('#name$#', $fieldname))
+ if (preg_match('#(name|colour)$#', $fieldname))
{
$sql_ary['forum_' . $fieldname] = (string) $row[$fieldname];
}