mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
fix sql error due to us using STRICT db mode. ;)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10024 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
b6ba5a89b1
commit
4fb22c972f
1 changed files with 5 additions and 3 deletions
|
@ -125,6 +125,7 @@ class acp_forums
|
||||||
'type_action' => request_var('type_action', ''),
|
'type_action' => request_var('type_action', ''),
|
||||||
'forum_status' => request_var('forum_status', ITEM_UNLOCKED),
|
'forum_status' => request_var('forum_status', ITEM_UNLOCKED),
|
||||||
'forum_parents' => '',
|
'forum_parents' => '',
|
||||||
|
'forum_options' => 0,
|
||||||
'forum_name' => utf8_normalize_nfc(request_var('forum_name', '', true)),
|
'forum_name' => utf8_normalize_nfc(request_var('forum_name', '', true)),
|
||||||
'forum_link' => request_var('forum_link', ''),
|
'forum_link' => request_var('forum_link', ''),
|
||||||
'forum_link_track' => request_var('forum_link_track', false),
|
'forum_link_track' => request_var('forum_link_track', false),
|
||||||
|
@ -443,6 +444,7 @@ class acp_forums
|
||||||
'prune_viewed' => 7,
|
'prune_viewed' => 7,
|
||||||
'prune_freq' => 1,
|
'prune_freq' => 1,
|
||||||
'forum_flags' => FORUM_FLAG_POST_REVIEW,
|
'forum_flags' => FORUM_FLAG_POST_REVIEW,
|
||||||
|
'forum_options' => 0,
|
||||||
'forum_password' => '',
|
'forum_password' => '',
|
||||||
'forum_password_confirm'=> '',
|
'forum_password_confirm'=> '',
|
||||||
);
|
);
|
||||||
|
@ -699,8 +701,8 @@ class acp_forums
|
||||||
|
|
||||||
return;
|
return;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'copy_perm':
|
case 'copy_perm':
|
||||||
$forum_perm_from = request_var('forum_perm_from', 0);
|
$forum_perm_from = request_var('forum_perm_from', 0);
|
||||||
|
|
||||||
// Copy permissions?
|
// Copy permissions?
|
||||||
|
@ -1921,7 +1923,7 @@ class acp_forums
|
||||||
function copy_permission_page($forum_data)
|
function copy_permission_page($forum_data)
|
||||||
{
|
{
|
||||||
global $phpEx, $phpbb_admin_path, $template, $user;
|
global $phpEx, $phpbb_admin_path, $template, $user;
|
||||||
|
|
||||||
$acl_url = '&mode=setting_forum_local&forum_id[]=' . $forum_data['forum_id'];
|
$acl_url = '&mode=setting_forum_local&forum_id[]=' . $forum_data['forum_id'];
|
||||||
$action = append_sid($this->u_action . "&parent_id={$this->parent_id}&f={$forum_data['forum_id']}&action=copy_perm");
|
$action = append_sid($this->u_action . "&parent_id={$this->parent_id}&f={$forum_data['forum_id']}&action=copy_perm");
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue