Fix reference to variables instead of scalar 0 when session is expired
This commit is contained in:
parent
29010d4c66
commit
a9dc5f6f65
|
@ -20,9 +20,9 @@ if ( !$cli ) {
|
|||
if ( !$validated ) {
|
||||
$data["validated"] = false;
|
||||
$data["admin"] = false;
|
||||
$data["new"] = $count_new;
|
||||
$data["purged"] = $count_purged;
|
||||
$data["total"] = $count_total;
|
||||
$data["new"] = 0;
|
||||
$data["purged"] = 0;
|
||||
$data["total"] = 0;
|
||||
sendResponse($data);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user