Skip to content

Commit 258f904

Browse files
committed
Fix E_NOTICE error with User/Register model
1 parent 2b72cf3 commit 258f904

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

models/User/Register.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@
66

77
class Register extends Model {
88

9+
public $email;
10+
public $username;
911
public $user_session;
1012

1113
public function __construct() {
1214
parent::__construct();
15+
$this->email = null;
16+
$this->username = null;
1317
$this->user_session = null;
1418
}
1519

0 commit comments

Comments
 (0)