[Fusionforge-commits] r16613 - in branches/Branch_5_2/src: plugins/scmsvn/common www/activity

Franck VILLAUME nerville at fusionforge.org
Sun Oct 21 11:25:06 CEST 2012


Author: nerville
Date: 2012-10-21 11:25:05 +0200 (Sun, 21 Oct 2012)
New Revision: 16613

Modified:
   branches/Branch_5_2/src/plugins/scmsvn/common/SVNPlugin.class.php
   branches/Branch_5_2/src/www/activity/index.php
Log:
fix scm activity

Modified: branches/Branch_5_2/src/plugins/scmsvn/common/SVNPlugin.class.php
===================================================================
--- branches/Branch_5_2/src/plugins/scmsvn/common/SVNPlugin.class.php	2012-10-20 09:56:13 UTC (rev 16612)
+++ branches/Branch_5_2/src/plugins/scmsvn/common/SVNPlugin.class.php	2012-10-21 09:25:05 UTC (rev 16613)
@@ -552,7 +552,7 @@
 			return false;
 		}
 
-		if (in_array('scm', $params['show'])) {
+		if (in_array('scmsvn', $params['show'])) {
 			$start_time = $params['begin'];
 			$end_time = $params['end'];
 			$d1 = date('Y-m-d', $start_time - 80000);

Modified: branches/Branch_5_2/src/www/activity/index.php
===================================================================
--- branches/Branch_5_2/src/www/activity/index.php	2012-10-20 09:56:13 UTC (rev 16612)
+++ branches/Branch_5_2/src/www/activity/index.php	2012-10-21 09:25:05 UTC (rev 16613)
@@ -209,7 +209,7 @@
 		if (!isset($cached_perms[$s][$ref])) {
 			switch ($s) {
 				case 'scm': {
-					$cached_perms[$s][$ref] = forge_check_perm('scm', $ref, 'read');
+					$cached_perms[$s][$ref] = forge_check_perm('scm', $group_id, 'read');
 					break;
 				}
 				case 'commit':




More information about the Fusionforge-commits mailing list