From 968a7f26119bf9d0c590159ae5542f3e7107685c Mon Sep 17 00:00:00 2001 From: filip Date: Wed, 21 Sep 2016 23:09:28 +0200 Subject: don't announce success if category, language code or resource name is wrong --- langs/report_tx_git.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'langs/report_tx_git.php') diff --git a/langs/report_tx_git.php b/langs/report_tx_git.php index ed5db5b75..5de51deff 100644 --- a/langs/report_tx_git.php +++ b/langs/report_tx_git.php @@ -628,7 +628,7 @@ if (0 < $num_of_resources_w_difference) { echo '

Same list but arranged by resources:

'; echo $list_of_resource_diff . PHP_EOL; } -} else if (0 == count($tx_only_languages)) { +} else if (0 == count($tx_only_languages) && !array_key_exists('tx_call', $errors)) { if (!empty($wanted_resource) && !empty($wanted_language)) { $diff_title = "

Congratulations. It seems that resource $wanted_resource in language $wanted_lang_name have no differences $diff_desc

"; } else if (!empty($wanted_resource) && empty($wanted_language)) { -- cgit v1.2.1