Skip to content
Permalink
Browse files

Correction to previous CSRF filter fix

  • Loading branch information...
chrisgraham committed Jun 18, 2019
1 parent c309ac0 commit 375d473f7361d70a4c1e5fdb5e1e0758f1620b5f
Showing with 1 addition and 1 deletion.
  1. +1 −1 sources/csrf_filter.php
@@ -30,7 +30,7 @@ function csrf_filter_active()
}
global $SITE_INFO;
if ((is_guest()) && ($SITE_INFO['any_guest_cached_too'] == '1')) {
if ((is_guest()) && (isset($SITE_INFO['any_guest_cached_too'])) && ($SITE_INFO['any_guest_cached_too'] == '1')) {
return false;
}

0 comments on commit 375d473

Please sign in to comment.
You can’t perform that action at this time.