From 278d741e0a7fd7f00251f03f200c3521440cca8d Mon Sep 17 00:00:00 2001 From: tinect Date: Sat, 9 Nov 2019 10:08:16 +0100 Subject: [PATCH] no message (#3118) --- data/web/inc/ajax/sieve_validation.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/web/inc/ajax/sieve_validation.php b/data/web/inc/ajax/sieve_validation.php index d24a95dc..cb527754 100644 --- a/data/web/inc/ajax/sieve_validation.php +++ b/data/web/inc/ajax/sieve_validation.php @@ -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']);