no message (#3118)

master
tinect 2019-11-09 10:08:16 +01:00 committed by André Peters
parent 9ccbeb7f66
commit 278d741e0a
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ if (isset($_GET['script'])) {
$sieve = new Sieve\SieveParser();
try {
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();
}
$sieve->parse($_GET['script']);