no message (#3118)
This commit is contained in:
parent
9ccbeb7f66
commit
278d741e0a
@ -9,7 +9,7 @@ if (isset($_GET['script'])) {
|
|||||||
$sieve = new Sieve\SieveParser();
|
$sieve = new Sieve\SieveParser();
|
||||||
try {
|
try {
|
||||||
if (empty($_GET['script'])) {
|
if (empty($_GET['script'])) {
|
||||||
echo json_encode(array('type' => 'danger', 'msg' => 'Script cannot be empty'));
|
echo json_encode(array('type' => 'danger', 'msg' => $lang['danger']['script_empty']));
|
||||||
exit();
|
exit();
|
||||||
}
|
}
|
||||||
$sieve->parse($_GET['script']);
|
$sieve->parse($_GET['script']);
|
||||||
|
Loading…
Reference in New Issue
Block a user