diff options
author | Nils Adermann <naderman@naderman.de> | 2007-01-05 21:17:28 +0000 |
---|---|---|
committer | Nils Adermann <naderman@naderman.de> | 2007-01-05 21:17:28 +0000 |
commit | ce13b9b9963b2d11bae2eca26560b1f74bd5505f (patch) | |
tree | b0ff589bf29acf71ef4c953531af1ee385f8b089 /phpBB/includes/functions.php | |
parent | 77335d94e4258112a69b5484a3006233c7550630 (diff) | |
download | forums-ce13b9b9963b2d11bae2eca26560b1f74bd5505f.tar forums-ce13b9b9963b2d11bae2eca26560b1f74bd5505f.tar.gz forums-ce13b9b9963b2d11bae2eca26560b1f74bd5505f.tar.bz2 forums-ce13b9b9963b2d11bae2eca26560b1f74bd5505f.tar.xz forums-ce13b9b9963b2d11bae2eca26560b1f74bd5505f.zip |
- use constants no weird numbers ;-)
- solved problem with \w using UTF-8 search (fulltext_mysql) by using PCRE unicode character properties if available [Bug #5768]
git-svn-id: file:///svn/phpbb/trunk@6843 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/functions.php')
-rw-r--r-- | phpBB/includes/functions.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php index 42046ff265..e4abcc6cc7 100644 --- a/phpBB/includes/functions.php +++ b/phpBB/includes/functions.php @@ -2338,7 +2338,7 @@ function generate_text_for_storage(&$text, &$uid, &$bitfield, &$flags, $allow_bb $uid = ''; } - $flags = (($allow_bbcode) ? 1 : 0) + (($allow_smilies) ? 2 : 0) + (($allow_urls) ? 4 : 0); + $flags = (($allow_bbcode) ? OPTION_FLAG_BBCODE : 0) + (($allow_smilies) ? OPTION_FLAG_SMILIES : 0) + (($allow_urls) ? OPTION_FLAG_LINKS : 0); $bitfield = $message_parser->bbcode_bitfield; return; |