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 828f3d7fc3a8c9be6e20baedc7d4dcfed670b2d8 (commit)
from 319e492324eb41237c6ef50b4a17ce196a56a47f (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=828f3d7fc3a8c9be6e20baedc7d4dcfed670b2d8
commit 828f3d7fc3a8c9be6e20baedc7d4dcfed670b2d8
Author: Franck Villaume <[email protected]>
Date: Fri Nov 2 15:37:35 2018 +0100
fix default value on getInstance function to avoid PHP warning
diff --git a/src/common/widget/Widget.class.php
b/src/common/widget/Widget.class.php
index 109a20f..83dd493 100644
--- a/src/common/widget/Widget.class.php
+++ b/src/common/widget/Widget.class.php
@@ -1,7 +1,7 @@
<?php
/**
* Copyright (c) Xerox Corporation, Codendi Team, 2001-2009. All rights
reserved
- * Copyright 2012,2014,2016-2017, Franck Villaume - TrivialDev
+ * Copyright 2012,2014,2016-2018, Franck Villaume - TrivialDev
*
* This file is a part of Fusionforge.
*
@@ -185,7 +185,7 @@ require_once
$gfcommon.'widget/Widget_UserhomeActivity.class.php';
* @param string $widget_name
* @return Widget instance
*/
- static function & getInstance($widget_name, $owner_id) {
+ static function & getInstance($widget_name, $owner_id = null) {
$o = null;
switch($widget_name) {
case 'homelatestnews':
-----------------------------------------------------------------------
Summary of changes:
src/common/widget/Widget.class.php | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
FusionForge
_______________________________________________
Fusionforge-commits mailing list
[email protected]
http://lists.fusionforge.org/cgi-bin/mailman/listinfo/fusionforge-commits