mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-11 15:16:08 +00:00
fix: PHP4x + PHP5x constructors change for PHP7+ compatible ones
This commit is contained in:
+1
-1
@@ -15,7 +15,7 @@ class Form {
|
||||
public $valuearray = array();
|
||||
private $errorcount;
|
||||
|
||||
public function Form() {
|
||||
public function __construct() {
|
||||
if(isset($_SESSION['errorarray']) && isset($_SESSION['valuearray'])) {
|
||||
$this->errorarray = $_SESSION['errorarray'];
|
||||
$this->valuearray = $_SESSION['valuearray'];
|
||||
|
||||
Reference in New Issue
Block a user