[Web] Return json array when mailq empty, fixes #3738
This commit is contained in:
@@ -71,7 +71,7 @@ function mailq($_action, $_data = null) {
|
||||
}
|
||||
}
|
||||
if (!isset($line) || empty($line)) {
|
||||
return '{}';
|
||||
return '[]';
|
||||
}
|
||||
else {
|
||||
return json_encode($line);
|
||||
|
Reference in New Issue
Block a user