This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "FusionForge".
The branch, Branch_5_3 has been updated
via bb26f2108a8535f7345c8d4e15ba51fabc9890c9 (commit)
from 2998a5a57e4145408fbcb385f20c5de9f0b81a5b (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bb26f2108a8535f7345c8d4e15ba51fabc9890c9
Author: Franck Villaume <[email protected]>
Date: Thu Mar 19 22:37:13 2015 +0100
fix [#762]: check success or not
diff --git a/src/CHANGES b/src/CHANGES
index a2b3ff9..9a291c1 100644
--- a/src/CHANGES
+++ b/src/CHANGES
@@ -7,6 +7,7 @@ Fusionforge-5.3.3:
* System replication: refresh nscd cache before applying changes, fix spurious
warning output from cron jobs (Inria)
* Docman: fix edit file when filename has quote [#750] (TrivialDev)
* FRS: wrong tooltip displayed in admin page [#703] (TrivialDev)
+* PM: fix test on success [#762] (TrivialDev)
* Plugin AuthLDAP: error and warning messages displayed twice [#732]
(TrivialDev)
* Plugin scmhook: fix display when only one SCM plugin enabled [#735]
(TrivialDev)
* Plugin Hudson: fix global status in Hudson Job widget [#740] (TrivialDev)
diff --git a/src/www/pm/postuploadcsv.php b/src/www/pm/postuploadcsv.php
index 0cad4c5..6ba1afd 100644
--- a/src/www/pm/postuploadcsv.php
+++ b/src/www/pm/postuploadcsv.php
@@ -113,7 +113,7 @@ if (isset($input_file) && isset($input_file['tmp_name']) &&
$res['errormessage'] = _('Parameter error');
}
-if (isset($res['success'])) {
+if (isset($res['success']) && $res['success']) {
$feedback .= _('Import was successful');
} else {
$error_msg .= $res['errormessage'];
-----------------------------------------------------------------------
Summary of changes:
src/CHANGES | 1 +
src/www/pm/postuploadcsv.php | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits