aboutsummaryrefslogtreecommitdiffstats
path: root/langs/report_tx_git.php
diff options
context:
space:
mode:
authorfilip <filip.komar@gmail.com>2016-09-21 23:09:28 +0200
committerfilip <filip.komar@gmail.com>2016-09-21 23:09:28 +0200
commit968a7f26119bf9d0c590159ae5542f3e7107685c (patch)
tree98d634b69a70922350f1edf0ff5eb2833cabe09a /langs/report_tx_git.php
parentf5520d0bf5ce8b6def8b10656505c85430064dd0 (diff)
downloadwww-968a7f26119bf9d0c590159ae5542f3e7107685c.tar
www-968a7f26119bf9d0c590159ae5542f3e7107685c.tar.gz
www-968a7f26119bf9d0c590159ae5542f3e7107685c.tar.bz2
www-968a7f26119bf9d0c590159ae5542f3e7107685c.tar.xz
www-968a7f26119bf9d0c590159ae5542f3e7107685c.zip
don't announce success if category, language code or resource name is wrong
Diffstat (limited to 'langs/report_tx_git.php')
-rw-r--r--langs/report_tx_git.php2
1 files changed, 1 insertions, 1 deletions
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 '<h3>Same list but arranged by resources:</h3>';
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 = "<h3>Congratulations. It seems that resource $wanted_resource in language $wanted_lang_name have no differences $diff_desc</h3>";
} else if (!empty($wanted_resource) && empty($wanted_language)) {