File tree 2 files changed +7
-6
lines changed
2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -120,6 +120,7 @@ multi-echo aquisitions (PR #7515).
120
120
- The ` Center_name ` field in the ` mri_protocol ` table has been replaced by ` CenterID `
121
121
from the ` psc ` table. The default value of ` CenterID ` is ` NULL ` . Previously, the
122
122
default for ` Center_name ` was ` AAAA ` or ` ZZZZ ` . (PR #7525 )
123
+ - BVL Feedback widget only shows notifications for the users sites / projects (PR #)
123
124
124
125
#### Bug Fixes
125
126
- A LINST instrument Date field name now appears correctly (not truncated) on the
Original file line number Diff line number Diff line change @@ -79,18 +79,18 @@ class Module extends \Module
79
79
80
80
// Add centerID restriction if needed
81
81
if (!$ user ->hasPermission ('access_all_profiles ' )) {
82
- $ site_arr = implode (", " ,$ user ->getCenterIDs ());
83
- $ query .= " AND s.CenterID IN ( {$ site_arr }) " ;
82
+ $ site_arr = implode (", " , $ user ->getCenterIDs ());
83
+ $ query .= " AND s.CenterID IN ( {$ site_arr }) " ;
84
84
}
85
85
86
86
// Add project restriction & order BY
87
- $ project_arr = implode (", " ,$ user ->getProjectIDs ());
88
- $ query .= " AND s.ProjectID IN ( {$ project_arr })
87
+ $ project_arr = implode (", " , $ user ->getProjectIDs ());
88
+ $ query .= " AND s.ProjectID IN ( {$ project_arr })
89
89
ORDER BY Testdate DESC LIMIT 4 " ;
90
90
91
- $ bvl_feedback = $ DB ->pselect (
91
+ $ bvl_feedback = $ DB ->pselect (
92
92
$ query ,
93
- array ()
93
+ []
94
94
);
95
95
96
96
$ frontend_feedback = [];
You can’t perform that action at this time.
0 commit comments