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
@@ -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'];