Merge pull request #1904 from MPOS/popup-cleanup
[FIX] Unset POPUPs on disabled API
This commit is contained in:
commit
6b181ba98a
@ -15,6 +15,7 @@ class Api extends Base {
|
|||||||
return true;
|
return true;
|
||||||
} else {
|
} else {
|
||||||
if ($error == true) {
|
if ($error == true) {
|
||||||
|
unset($_SESSION['POPUP']);
|
||||||
header('HTTP/1.1 501 Not implemented');
|
header('HTTP/1.1 501 Not implemented');
|
||||||
die('501 Not implemented');
|
die('501 Not implemented');
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user