| ... | ... |
@@ -79,7 +79,9 @@ class CookiePolicy extends \Frontend |
| 79 | 79 |
public static function ajaxPassCookiePolicy() |
| 80 | 80 |
{
|
| 81 | 81 |
if (!\Input::get('cookiepolicy_commit'))
|
| 82 |
+ {
|
|
| 82 | 83 |
return false; |
| 84 |
+ } |
|
| 83 | 85 |
|
| 84 | 86 |
if (\Input::get('cookiepolicy_commit') == $_SESSION['eSM_cookiepolicy_token'])
|
| 85 | 87 |
{
|
| ... | ... |
@@ -90,6 +92,8 @@ class CookiePolicy extends \Frontend |
| 90 | 92 |
|
| 91 | 93 |
return true; |
| 92 | 94 |
} |
| 95 |
+ |
|
| 96 |
+ return false; |
|
| 93 | 97 |
} |
| 94 | 98 |
|
| 95 | 99 |
/** |