mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/11103] Mark read link if notification has no URL to view it
Other style stuff PHPBB3-11103
This commit is contained in:
@@ -36,6 +36,11 @@ if (($mark_notification = request_var('mark_notification', 0)))
|
||||
|
||||
$notification->mark_read();
|
||||
|
||||
if (($redirect = request_var('redirect', '')))
|
||||
{
|
||||
redirect(append_sid($phpbb_root_path . $redirect));
|
||||
}
|
||||
|
||||
redirect($notification->get_url());
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user