Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Sources/Actions/Profile/Notification.php
Original file line number Diff line number Diff line change
Expand Up @@ -694,7 +694,7 @@ public function topics(): void
public function boards(): void
{
// Because of the way this stuff works, we want to do this ourselves.
if (isset($_POST['edit_notify_boards']) || isset($_POSt['remove_notify_boards'])) {
if (isset($_POST['edit_notify_boards']) || isset($_POST['remove_notify_boards'])) {
User::$me->checkSession();
SecurityToken::validate(str_replace('%u', (string) Profile::$member->id, 'profile-nt%u'), 'post');

Expand Down Expand Up @@ -1025,7 +1025,7 @@ protected function changeNotifications(): void
}

// Are we removing board preferences?
if (isset($_POST['remove_notify_board']) && !empty($_POST['notify_boards'])) {
if (isset($_POST['remove_notify_boards']) && !empty($_POST['notify_boards'])) {
$prefs = [];

foreach ($_POST['notify_boards'] as $board) {
Expand Down