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 56add3adeaf30e3c2739c8441d86c7b964b8930b (commit)
from 5e44366b39da1735208fe302247c4af63fcd8ed0 (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=56add3adeaf30e3c2739c8441d86c7b964b8930b
commit 56add3adeaf30e3c2739c8441d86c7b964b8930b
Author: Franck Villaume <[email protected]>
Date: Sat Feb 20 13:40:11 2016 +0100
docman: fix activity, dg can be null
diff --git a/src/www/activity/index.php b/src/www/activity/index.php
index 9a0aec8..a85c03f 100644
--- a/src/www/activity/index.php
+++ b/src/www/activity/index.php
@@ -369,7 +369,7 @@ echo $HTML->closeForm();
}
case 'docgroupnew': {
$dg =
documentgroup_get_object($arr['ref_id'], $arr['group_id']);
- if ($dg->isError() ||
!$dg->getPath(true, false)) {
+ if (!$dg || $dg->isError() ||
!$dg->getPath(true, false)) {
$docmanerror = 1;
}
$icon = html_image('ic/cfolder15.png',
'', '', array("alt"=>_('Directory')));
-----------------------------------------------------------------------
Summary of changes:
src/www/activity/index.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