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 0cb74df93b8592669052bb6b028a27c6171ec7e7 (commit)
from d92984bc897467f64888c3b3f7863f84b540cf7e (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=0cb74df93b8592669052bb6b028a27c6171ec7e7
commit 0cb74df93b8592669052bb6b028a27c6171ec7e7
Author: Franck Villaume <[email protected]>
Date: Mon May 31 15:06:46 2021 +0200
fix PHP syntax to support CentOS 7 (PHP 5.4)
diff --git a/src/common/widget/Widget_MySurveys.class.php
b/src/common/widget/Widget_MySurveys.class.php
index 99639c7..0c0455b 100644
--- a/src/common/widget/Widget_MySurveys.class.php
+++ b/src/common/widget/Widget_MySurveys.class.php
@@ -51,7 +51,8 @@ class Widget_MySurveys extends Widget {
foreach ($projects as $p) {
if ($p->usesSurvey()) {
$sf = new SurveyFactory($p);
- if (!empty($sf->getSurveysIds())) {
+ $sfids = $sf->getSurveysIds();
+ if (!empty($sfids)) {
$tmp[] = $p;
}
}
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget_MySurveys.class.php | 3 ++-
1 file 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