We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4dcdec commit fe21543Copy full SHA for fe21543
resources/templates/header.php
@@ -7,7 +7,7 @@
7
// UnityHTTPD::validatePostCSRFToken();
8
if (
9
($_SESSION["is_admin"] ?? false) == true
10
- && (UnityHTTPD::getPostData("form_type") ?? null) == "clearView"
+ && UnityHTTPD::getOptionalPostData("form_type") == "clearView"
11
) {
12
unset($_SESSION["viewUser"]);
13
UnityHTTPD::redirect(getURL("admin/user-mgmt.php"));
0 commit comments