1
1
Fork 0
mirror of https://github.com/openvk/openvk synced 2025-04-19 14:43:01 +03:00

User: one more fix with birthday

This commit is contained in:
0x7d5 2021-09-14 12:12:41 +05:00
parent 33478e7bf9
commit d996be443f

View file

@ -304,13 +304,9 @@ class User extends RowModel
return $this->getRecord()->notification_offset; return $this->getRecord()->notification_offset;
} }
function getBirthday(): int function getBirthday(): ?int
{ {
try {
return $this->getRecord()->birthday; return $this->getRecord()->birthday;
} catch (Exception $xe) {
return 0;
}
} }
function updateNotificationOffset(): void function updateNotificationOffset(): void