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