Version 4.3.6
This commit is contained in:
1 parent
fe1acf984a
commit
1a0c7fd3c2
609 files changed
+14707
-5726
No files matched your search
@@ -44,6 +44,8 @@ class _terms extends \IPS\Dispatcher\Controller
|
||||
*/
|
||||
protected function dismiss()
|
||||
{
|
||||
\IPS\Session::i()->csrfCheck();
|
||||
|
||||
\IPS\Request::i()->setCookie( 'guestTermsDismissed', 1, NULL, FALSE );
|
||||
|
||||
if ( \IPS\Request::i()->isAjax() )
|
||||
@@ -63,7 +65,7 @@ class _terms extends \IPS\Dispatcher\Controller
|
||||
$url = NULL;
|
||||
}
|
||||
|
||||
if ( $url instanceof \IPS\Http\Url\Internal )
|
||||
if ( $url instanceof \IPS\Http\Url\Internal and !$url->openRedirect() )
|
||||
{
|
||||
\IPS\Output::i()->redirect( $url, 'terms_dismissed' );
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user