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:
parent
ff77046783
commit
65aa830c87
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user