Skip to content
  • Mike van Riel's avatar
    04480be0
    Add explicit token whether $token equals null · 04480be0
    Mike van Riel authored
    In PHP 8, the signature of method_exists does not allow for null values as the first argument. Because $token is not verified, this will crash when calling isFeatureEnabled when the user is not signed in (the registration page in our case).
    04480be0
    Add explicit token whether $token equals null
    Mike van Riel authored
    In PHP 8, the signature of method_exists does not allow for null values as the first argument. Because $token is not verified, this will crash when calling isFeatureEnabled when the user is not signed in (the registration page in our case).
Loading