From 1d7716a2e6fc0980d151e6c849a985d9e5400a2b Mon Sep 17 00:00:00 2001 From: lsces Date: Tue, 8 Dec 2015 12:45:40 +0000 Subject: Rename constructor for PHP7 compliance --- BitArticle.php | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/BitArticle.php b/BitArticle.php index e12367a..98ae73a 100644 --- a/BitArticle.php +++ b/BitArticle.php @@ -1,9 +1,12 @@ * @version $Revision$ */ @@ -47,7 +46,7 @@ class BitArticle extends LibertyMime * @param $pContentId content id of the article we want to view * @access private **/ - public function BitArticle($pArticleId=NULL, $pContentId=NULL) + function __construct($pArticleId=NULL, $pContentId=NULL) { parent::__construct(); $this->registerContentType( -- cgit v1.3