mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-08 17:56:52 +02:00
- 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
This commit is contained in:
@@ -918,7 +918,7 @@ function mcp_fork_topic($topic_ids)
|
||||
'physical_filename' => (string) basename($attach_row['physical_filename']),
|
||||
'real_filename' => (string) basename($attach_row['real_filename']),
|
||||
'download_count' => (int) $attach_row['download_count'],
|
||||
'comment' => (string) $attach_row['comment'],
|
||||
'attach_comment' => (string) $attach_row['attach_comment'],
|
||||
'extension' => (string) $attach_row['extension'],
|
||||
'mimetype' => (string) $attach_row['mimetype'],
|
||||
'filesize' => (int) $attach_row['filesize'],
|
||||
|
@@ -68,7 +68,7 @@ class mcp_notes
|
||||
global $template, $db, $user, $auth;
|
||||
|
||||
$user_id = request_var('u', 0);
|
||||
$username = request_var('username', '', true);
|
||||
$username = request_var('username', '');
|
||||
$start = request_var('start', 0);
|
||||
$st = request_var('st', 0);
|
||||
$sk = request_var('sk', 'b');
|
||||
|
@@ -59,7 +59,7 @@ function mcp_post_details($id, $mode, $action)
|
||||
|
||||
if ($action == 'chgposter')
|
||||
{
|
||||
$username = request_var('username', '', true);
|
||||
$username = request_var('username', '');
|
||||
$sql_where = "username = '" . $db->sql_escape($username) . "'";
|
||||
}
|
||||
else
|
||||
|
@@ -309,7 +309,7 @@ function mcp_warn_user_view($id, $mode, $action)
|
||||
global $template, $db, $user, $auth;
|
||||
|
||||
$user_id = request_var('u', 0);
|
||||
$username = request_var('username', '', true);
|
||||
$username = request_var('username', '');
|
||||
$notify = (isset($_REQUEST['notify_user'])) ? true : false;
|
||||
$warning = request_var('warning', '', true);
|
||||
|
||||
|
Reference in New Issue
Block a user