Commit e4806b78 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Fix to ShowExperiments; reversed permission test that controlled what

experiments a user sees.
parent dbf76dcb
...@@ -402,7 +402,7 @@ class OSinfo ...@@ -402,7 +402,7 @@ class OSinfo
if (! ($experiment = Experiment::LookupByPidEid($pid, $eid))) { if (! ($experiment = Experiment::LookupByPidEid($pid, $eid))) {
continue; continue;
} }
if ($experiment->AccessCheck($user, $TB_EXPT_READINFO)) { if (! $experiment->AccessCheck($user, $TB_EXPT_READINFO)) {
$other_exps++; $other_exps++;
continue; continue;
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment