diff options
author | Meik Sievertsen <acydburn@phpbb.com> | 2009-06-12 13:56:40 +0000 |
---|---|---|
committer | Meik Sievertsen <acydburn@phpbb.com> | 2009-06-12 13:56:40 +0000 |
commit | e71bae0e7ad7817e06fb786c3420a1a2158df8cc (patch) | |
tree | 79ab378d3d5df854f71e2be25092e02f691da07e | |
parent | 8f46e94294ace956d9b120791b37c1eaf2eec626 (diff) | |
download | forums-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
-rw-r--r-- | phpBB/docs/CHANGELOG.html | 1 | ||||
-rw-r--r-- | phpBB/includes/functions.php | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html index fd2d1496dc..62f4eeb1f8 100644 --- a/phpBB/docs/CHANGELOG.html +++ b/phpBB/docs/CHANGELOG.html @@ -100,6 +100,7 @@ <li>[Fix] Correctly apply the can change vote permission again. Regression introduced in r9470. (Bug #45895)</li> <li>[Fix] Also remove data from friend/foe table when deleting user. (Bug #45345 - Patch by nickvergessen)</li> <li>[Fix] Correctly hide skiplink in prosilver right-to-left mode. (Bug #45765 - Patch by prototech and bantu)</li> + <li>[Fix] Fix dynamic config update routine error if firebird is used (Bug #46315)</li> <li>[Change] Change the data format of the default file ACM to be more secure from tampering and have better performance.</li> <li>[Change] Add index on log_time to the log table to prevent slowdown on boards with many log entries. (Bug #44665 - Patch by bantu)</li> <li>[Change] Template engine now permits to a limited extent variable includes.</li> 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': |