mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-27 12:29:38 +00:00
[ticket/17130] Check magic url status fix
PHPBB3-17130
This commit is contained in:
parent
389cca5402
commit
46eca902fd
2 changed files with 2 additions and 2 deletions
|
@ -828,7 +828,7 @@ function compose_pm($id, $mode, $action, $user_folders = array())
|
||||||
|
|
||||||
$enable_bbcode = (!$bbcode_status || isset($_POST['disable_bbcode'])) ? false : true;
|
$enable_bbcode = (!$bbcode_status || isset($_POST['disable_bbcode'])) ? false : true;
|
||||||
$enable_smilies = (!$smilies_status || isset($_POST['disable_smilies'])) ? false : true;
|
$enable_smilies = (!$smilies_status || isset($_POST['disable_smilies'])) ? false : true;
|
||||||
$enable_urls = (isset($_POST['disable_magic_url'])) ? 0 : 1;
|
$enable_urls = (!$url_status || isset($_POST['disable_magic_url'])) ? 0 : 1;
|
||||||
$enable_sig = (!$config['allow_sig'] ||!$config['allow_sig_pm']) ? false : ((isset($_POST['attach_sig'])) ? true : false);
|
$enable_sig = (!$config['allow_sig'] ||!$config['allow_sig_pm']) ? false : ((isset($_POST['attach_sig'])) ? true : false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -944,7 +944,7 @@ if ($submit || $preview || $refresh)
|
||||||
|
|
||||||
$post_data['enable_bbcode'] = (!$bbcode_status || isset($_POST['disable_bbcode'])) ? false : true;
|
$post_data['enable_bbcode'] = (!$bbcode_status || isset($_POST['disable_bbcode'])) ? false : true;
|
||||||
$post_data['enable_smilies'] = (!$smilies_status || isset($_POST['disable_smilies'])) ? false : true;
|
$post_data['enable_smilies'] = (!$smilies_status || isset($_POST['disable_smilies'])) ? false : true;
|
||||||
$post_data['enable_urls'] = (isset($_POST['disable_magic_url'])) ? 0 : 1;
|
$post_data['enable_urls'] = (!$url_status || isset($_POST['disable_magic_url'])) ? 0 : 1;
|
||||||
$post_data['enable_sig'] = (!$config['allow_sig'] || !$auth->acl_get('f_sigs', $forum_id) || !$auth->acl_get('u_sig')) ? false : ((isset($_POST['attach_sig']) && $user->data['is_registered']) ? true : false);
|
$post_data['enable_sig'] = (!$config['allow_sig'] || !$auth->acl_get('f_sigs', $forum_id) || !$auth->acl_get('u_sig')) ? false : ((isset($_POST['attach_sig']) && $user->data['is_registered']) ? true : false);
|
||||||
|
|
||||||
if ($config['allow_topic_notify'] && $user->data['is_registered'])
|
if ($config['allow_topic_notify'] && $user->data['is_registered'])
|
||||||
|
|
Loading…
Add table
Reference in a new issue