mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-05 12:24:20 +00:00
fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones
This commit is contained in:
@@ -17,7 +17,7 @@ class Message {
|
||||
private $totalMessage, $totalNotice;
|
||||
private $allNotice = array();
|
||||
|
||||
function Message() {
|
||||
function __construct() {
|
||||
$this->getMessages();
|
||||
$this->getNotice();
|
||||
if($this->totalMessage > 0) {
|
||||
|
||||
Reference in New Issue
Block a user