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.
This commit is contained in:
Thomas Keller 2011-12-24 03:03:07 +01:00
parent ff77046783
commit 65aa830c87

View File

@ -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))