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, master has been updated
via 660e3b77d5af607122a294632df083b07cabf41c (commit)
from 88f9a2b9bf6db8cab45446eeae0ba4c8ba6fe7e3 (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 -----------------------------------------------------------------
https://scm.fusionforge.org/anonscm/gitweb/?p=fusionforge/fusionforge.git;a=commitdiff;h=660e3b77d5af607122a294632df083b07cabf41c
commit 660e3b77d5af607122a294632df083b07cabf41c
Author: Franck Villaume <[email protected]>
Date: Sat May 11 16:37:03 2019 +0200
fix logic. test error first
diff --git a/src/www/soap/common/group.php b/src/www/soap/common/group.php
index 8c91344..500d9e6 100644
--- a/src/www/soap/common/group.php
+++ b/src/www/soap/common/group.php
@@ -357,11 +357,11 @@ function getGroupsByName($session_ser, $group_names) {
function getPublicProjectNames($session_ser) {
continue_session($session_ser);
$forge = new FusionForge();
- $result = $forge->getPublicProjectNames();
if ($forge->isError()) {
$errMsg = 'Could Not Get Public Projects Names:
'.$forge->getErrorMessage();
return new soap_fault('2003', 'group', $errMsg, $errMsg);
}
+ $result = $forge->getPublicProjectNames();
return $result;
}
-----------------------------------------------------------------------
Summary of changes:
src/www/soap/common/group.php | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits