Browse Source

Fix email not being saved in "Settings" page

Alan Lam 4 năm trước cách đây
mục cha
commit
be1daf8576
1 tập tin đã thay đổi với 1 bổ sung và 0 xóa
  1. 1 0
      controllers/settings.php

+ 1 - 0
controllers/settings.php

@@ -19,6 +19,7 @@ if($submit) {
 		$user->title = $request->string("title");
 		$user->first_name = $request->string("first_name");
 		$user->last_name = $request->string("last_name");
+		$user->email = $request->string("email");
 
 		$password = $request->raw("password");
 		if($password) {