fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones

This commit is contained in:
Martin Ambrus
2017-09-19 20:40:43 +02:00
parent 0ca4c4732f
commit db4c373ace
6 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ class Message {
private $totalMessage, $totalNotice;
private $allNotice = array();
function Message() {
function __construct() {
$this->getMessages();
$this->getNotice();
if($this->totalMessage > 0) {