aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/acp/acp_profile.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2006-07-13 12:51:56 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2006-07-13 12:51:56 +0000
commitc4f2430645dbc8cba38c1ea3f08366034bba7127 (patch)
tree366a16ec99c42d27c073ff076464266f8a99206f /phpBB/includes/acp/acp_profile.php
parent4cd73bf7e53213241c5e545b51ca9dbd2a98e3af (diff)
downloadforums-c4f2430645dbc8cba38c1ea3f08366034bba7127.tar
forums-c4f2430645dbc8cba38c1ea3f08366034bba7127.tar.gz
forums-c4f2430645dbc8cba38c1ea3f08366034bba7127.tar.bz2
forums-c4f2430645dbc8cba38c1ea3f08366034bba7127.tar.xz
forums-c4f2430645dbc8cba38c1ea3f08366034bba7127.zip
- renamed the following columns:
comment -> attach_comment new, forwarded, unread, marked, deleted -> pm_new, pm_forwarded, pm_unread, pm_marked, pm_deleted module_name -> module_basename value -> lang_value - every column is now NOT NULL - every column is now having a DEFAULT value - hopefully mostly consistent across every db schema - untested schemas: sqlite, oracle, firebird git-svn-id: file:///svn/phpbb/trunk@6177 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/acp/acp_profile.php')
-rw-r--r--phpBB/includes/acp/acp_profile.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/phpBB/includes/acp/acp_profile.php b/phpBB/includes/acp/acp_profile.php
index 28f547189d..42e70eddd8 100644
--- a/phpBB/includes/acp/acp_profile.php
+++ b/phpBB/includes/acp/acp_profile.php
@@ -304,7 +304,7 @@ class acp_profile
$lang_options = array();
while ($row = $db->sql_fetchrow($result))
{
- $lang_options[$row['option_id']] = $row['value'];
+ $lang_options[$row['option_id']] = $row['lang_value'];
}
$db->sql_freeresult($result);
@@ -486,7 +486,7 @@ class acp_profile
$l_lang_options = array();
while ($row = $db->sql_fetchrow($result))
{
- $l_lang_options[$row['lang_id']][$row['option_id']] = $row['value'];
+ $l_lang_options[$row['lang_id']][$row['option_id']] = $row['lang_value'];
}
$db->sql_freeresult($result);
@@ -1203,8 +1203,8 @@ class acp_profile
}
$sql_ary = array(
- 'lang_name' => $cp->vars['lang_name'],
- 'lang_explain' => $cp->vars['lang_explain'],
+ 'lang_name' => $cp->vars['lang_name'],
+ 'lang_explain' => $cp->vars['lang_explain'],
'lang_default_value' => $cp->vars['lang_default_value']
);
@@ -1277,7 +1277,7 @@ class acp_profile
{
$sql_ary = array(
'field_type' => (int) $field_type,
- 'value' => $value
+ 'lang_value' => $value
);
if ($action == 'create')
@@ -1332,7 +1332,7 @@ class acp_profile
'lang_id' => (int) $lang_id,
'option_id' => (int) $option_id,
'field_type' => (int) $field_type,
- 'value' => $value
+ 'lang_value' => $value
);
}
}