aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_display.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/functions_display.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/functions_display.php')
-rw-r--r--phpBB/includes/functions_display.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_display.php b/phpBB/includes/functions_display.php
index 515246461b..b343d69c05 100644
--- a/phpBB/includes/functions_display.php
+++ b/phpBB/includes/functions_display.php
@@ -761,7 +761,7 @@ function display_attachments($forum_id, $blockname, &$attachment_data, &$update_
$size_lang = ($filesize >= 1048576) ? $user->lang['MB'] : ( ($filesize >= 1024) ? $user->lang['KB'] : $user->lang['BYTES'] );
$filesize = ($filesize >= 1048576) ? round((round($filesize / 1048576 * 100) / 100), 2) : (($filesize >= 1024) ? round((round($filesize / 1024 * 100) / 100), 2) : $filesize);
- $comment = str_replace("\n", '<br />', censor_text($attachment['comment']));
+ $comment = str_replace("\n", '<br />', censor_text($attachment['attach_comment']));
$block_array += array(
'UPLOAD_ICON' => $upload_icon,