aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-06-12 13:56:40 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-06-12 13:56:40 +0000
commite71bae0e7ad7817e06fb786c3420a1a2158df8cc (patch)
tree79ab378d3d5df854f71e2be25092e02f691da07e /phpBB/includes
parent8f46e94294ace956d9b120791b37c1eaf2eec626 (diff)
downloadforums-e71bae0e7ad7817e06fb786c3420a1a2158df8cc.tar
forums-e71bae0e7ad7817e06fb786c3420a1a2158df8cc.tar.gz
forums-e71bae0e7ad7817e06fb786c3420a1a2158df8cc.tar.bz2
forums-e71bae0e7ad7817e06fb786c3420a1a2158df8cc.tar.xz
forums-e71bae0e7ad7817e06fb786c3420a1a2158df8cc.zip
Fix dynamic config update routine error if firebird is used (Bug #46315)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9574 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r--phpBB/includes/functions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index f958a204b6..188c8ee5e3 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -174,7 +174,7 @@ function set_config_count($config_name, $increment, $is_dynamic = false)
switch ($db->sql_layer)
{
case 'firebird':
- $sql_update = 'CAST(CAST(config_value as integer) + ' . (int) $increment . ' as CHAR)';
+ $sql_update = 'CAST(CAST(config_value as integer) + ' . (int) $increment . ' as VARCHAR(255))';
break;
case 'postgres':