aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2009-06-13 15:00:33 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2009-06-13 15:00:33 +0000
commitd8e78c766b0f14f5d53e1916c341cbaccb012b4f (patch)
tree5e58a9c9e6ccdba73bfba7e649cc80f500a212b4
parent8d4ddc3b236a194b7f31e631e77366cd4f4adfd0 (diff)
downloadforums-d8e78c766b0f14f5d53e1916c341cbaccb012b4f.tar
forums-d8e78c766b0f14f5d53e1916c341cbaccb012b4f.tar.gz
forums-d8e78c766b0f14f5d53e1916c341cbaccb012b4f.tar.bz2
forums-d8e78c766b0f14f5d53e1916c341cbaccb012b4f.tar.xz
forums-d8e78c766b0f14f5d53e1916c341cbaccb012b4f.zip
like firebird, oracle uses uppercase column names if delimiter used (Fixes Bug #46015)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9585 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/docs/CHANGELOG.html1
-rw-r--r--phpBB/includes/functions_profile_fields.php2
2 files changed, 2 insertions, 1 deletions
diff --git a/phpBB/docs/CHANGELOG.html b/phpBB/docs/CHANGELOG.html
index 3e6637ae36..fa05dbf1b3 100644
--- a/phpBB/docs/CHANGELOG.html
+++ b/phpBB/docs/CHANGELOG.html
@@ -103,6 +103,7 @@
<li>[Fix] Fix dynamic config update routine error if firebird is used (Bug #46315)</li>
<li>[Fix] Allow friends/foes to be added and removed at the same time. (Bug #46255 - Patch by bantu)</li>
<li>[Fix] Only change topic/post icon if icons are enabled and user is allowed to. (Bug #46355 - Patch by bantu)</li>
+ <li>[Fix] Fix saving custom profile fields in ACP if Oracle used (Bug #46015)</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_profile_fields.php b/phpBB/includes/functions_profile_fields.php
index d9b6b25477..bb54e0de5b 100644
--- a/phpBB/includes/functions_profile_fields.php
+++ b/phpBB/includes/functions_profile_fields.php
@@ -386,7 +386,7 @@ class custom_profile
foreach ($cp_data as $key => $value)
{
// Firebird is case sensitive with delimiter
- $cp_data[$left_delim . (($db->sql_layer == 'firebird') ? strtoupper($key) : $key) . $right_delim] = $value;
+ $cp_data[$left_delim . (($db->sql_layer == 'firebird' || $db->sql_layer == 'oracle') ? strtoupper($key) : $key) . $right_delim] = $value;
unset($cp_data[$key]);
}