diff options
author | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-04 01:35:15 +0000 |
---|---|---|
committer | Paul S. Owen <psotfx@users.sourceforge.net> | 2001-06-04 01:35:15 +0000 |
commit | b743fe30e47e38b29f5bdea2b547d8c5bdac92d3 (patch) | |
tree | 357852320988353fac256e863aa936599559677e /phpBB | |
parent | b8870fee0188f77aa204dbbee46fd9d394fcda4a (diff) | |
download | forums-b743fe30e47e38b29f5bdea2b547d8c5bdac92d3.tar forums-b743fe30e47e38b29f5bdea2b547d8c5bdac92d3.tar.gz forums-b743fe30e47e38b29f5bdea2b547d8c5bdac92d3.tar.bz2 forums-b743fe30e47e38b29f5bdea2b547d8c5bdac92d3.tar.xz forums-b743fe30e47e38b29f5bdea2b547d8c5bdac92d3.zip |
Noticed that the initial conditions had been changed so changed them back
git-svn-id: file:///svn/phpbb/trunk@426 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/posting.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 3340f430d8..fe14e0adaf 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -147,9 +147,9 @@ $error = FALSE; // // Set initial conditions // -$disable_html = (isset($HTTP_POST_VARS['disable_html'])) ? $HTTP_POST_VARS['disable_html'] : $userdata['user_allowhtml']; -$disable_bbcode = (isset($HTTP_POST_VARS['disable_bbcode'])) ? $HTTP_POST_VARS['disable_bbcode'] : $userdata['user_allowbbcode']; -$disable_smilies = (isset($HTTP_POST_VARS['disable_smile'])) ? $HTTP_POST_VARS['disable_smile'] : $userdata['user_allowsmile']; +$disable_html = (isset($HTTP_POST_VARS['disable_html'])) ? $HTTP_POST_VARS['disable_html'] : !$userdata['user_allowhtml']; +$disable_bbcode = (isset($HTTP_POST_VARS['disable_bbcode'])) ? $HTTP_POST_VARS['disable_bbcode'] : !$userdata['user_allowbbcode']; +$disable_smilies = (isset($HTTP_POST_VARS['disable_smile'])) ? $HTTP_POST_VARS['disable_smile'] : !$userdata['user_allowsmile']; $attach_sig = (isset($HTTP_POST_VARS['attach_sig'])) ? $HTTP_POST_VARS['attach_sig'] : $userdata['user_attachsig']; $notify = (isset($HTTP_POST_VARS['notify'])) ? $HTTP_POST_VARS['notify'] : $userdata["always_notify"]; |