Fixed birthdate setting not working (did it ever work???).
This commit is contained in:
parent
0bb1303413
commit
b5b4bf6b5a
1 changed files with 3 additions and 3 deletions
|
@ -716,7 +716,7 @@ class User implements HasRankInterface, JsonSerializable {
|
|||
'UPDATE `' . DB::PREFIX . self::TABLE . '`'
|
||||
. ' SET `username` = :username, `email` = :email, `password` = :password'
|
||||
. ', `user_super` = :is_super, `user_country` = :country, `user_colour` = :colour, `user_title` = :title'
|
||||
. ', `display_role` = :display_role, `user_birthdate` = :birthdate, `user_totp_key` = :totp'
|
||||
. ', `display_role` = :display_role, `user_totp_key` = :totp'
|
||||
. ' WHERE `user_id` = :user'
|
||||
) ->bind('user', $this->user_id)
|
||||
->bind('username', $this->username)
|
||||
|
@ -726,7 +726,6 @@ class User implements HasRankInterface, JsonSerializable {
|
|||
->bind('country', $this->user_country)
|
||||
->bind('colour', $this->user_colour)
|
||||
->bind('display_role', $this->display_role)
|
||||
->bind('birthdate', $this->user_birthdate)
|
||||
->bind('totp', $this->user_totp_key)
|
||||
->bind('title', $this->user_title)
|
||||
->execute();
|
||||
|
@ -737,7 +736,7 @@ class User implements HasRankInterface, JsonSerializable {
|
|||
'UPDATE `' . DB::PREFIX . self::TABLE . '`'
|
||||
. ' SET `user_about_content` = :about_content, `user_about_parser` = :about_parser'
|
||||
. ', `user_signature_content` = :signature_content, `user_signature_parser` = :signature_parser'
|
||||
. ', `user_background_settings` = :background_settings'
|
||||
. ', `user_background_settings` = :background_settings, `user_birthdate` = :birthdate'
|
||||
. ' WHERE `user_id` = :user'
|
||||
) ->bind('user', $this->user_id)
|
||||
->bind('about_content', $this->user_about_content)
|
||||
|
@ -745,6 +744,7 @@ class User implements HasRankInterface, JsonSerializable {
|
|||
->bind('signature_content', $this->user_signature_content)
|
||||
->bind('signature_parser', $this->user_signature_parser)
|
||||
->bind('background_settings', $this->user_background_settings)
|
||||
->bind('birthdate', $this->user_birthdate)
|
||||
->execute();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue