From 65aa830c87bd2e450d93d6f23694f4c76ba2407d Mon Sep 17 00:00:00 2001 From: Thomas Keller Date: Sat, 24 Dec 2011 03:03:07 +0100 Subject: [PATCH] If a project never saved specific tab access rights so far, the specific access rights setting is not existant and therefor the projects' activity calculation is always skipped. This should actually not happen. --- src/IDF/ActivityTaxonomy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IDF/ActivityTaxonomy.php b/src/IDF/ActivityTaxonomy.php index 2feee34..9991e51 100644 --- a/src/IDF/ActivityTaxonomy.php +++ b/src/IDF/ActivityTaxonomy.php @@ -95,7 +95,7 @@ class IDF_ActivityTaxonomy $value = 0; foreach ($sectionWeights as $section => $weight) { // skip closed / non-existant sections - if ($conf->getVal($section.'_access_rights', 'none') === 'none') + if ($conf->getVal($section.'_access_rights') === 'none') continue; if (!array_key_exists($section, $sectionClasses))