aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/message_parser.php
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2018-10-27 22:33:44 +0200
committerMarc Alexander <admin@m-a-styles.de>2018-10-27 22:33:44 +0200
commit7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae (patch)
tree4f46a7efaaffcd36a0655ccc8023211b05c404d2 /phpBB/includes/message_parser.php
parent042f47fc3f2e33bbb9791b0dc66b7ea6ccaa8d94 (diff)
parentb148bb5d707d739e92b66205866a764a9aa133b5 (diff)
downloadforums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar.gz
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar.bz2
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.tar.xz
forums-7dbfc1e59c6f5a9d1bef0aabf845ce078967b8ae.zip
Merge pull request #5424 from rubencm/ticket/15849
[ticket/15849] Stop using php4 constructors
Diffstat (limited to 'phpBB/includes/message_parser.php')
-rw-r--r--phpBB/includes/message_parser.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/message_parser.php b/phpBB/includes/message_parser.php
index d67bc69591..c12f2ab1aa 100644
--- a/phpBB/includes/message_parser.php
+++ b/phpBB/includes/message_parser.php
@@ -1139,7 +1139,7 @@ class parse_message extends bbcode_firstpass
/**
* Init - give message here or manually
*/
- function parse_message($message = '')
+ function __construct($message = '')
{
// Init BBCode UID
$this->bbcode_uid = substr(base_convert(unique_id(), 16, 36), 0, BBCODE_UID_LEN);