File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 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).
120120- The ` Center_name ` field in the ` mri_protocol ` table has been replaced by ` CenterID `
121121from the ` psc ` table. The default value of ` CenterID ` is ` NULL ` . Previously, the
122122default for ` Center_name ` was ` AAAA ` or ` ZZZZ ` . (PR #7525 )
123+ - BVL Feedback widget only shows notifications for the users sites / projects (PR #)
123124
124125#### Bug Fixes
125126- 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
7979
8080 // Add centerID restriction if needed
8181 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 }) " ;
8484 }
8585
8686 // 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 })
8989 ORDER BY Testdate DESC LIMIT 4 " ;
9090
91- $ bvl_feedback = $ DB ->pselect (
91+ $ bvl_feedback = $ DB ->pselect (
9292 $ query ,
93- array ()
93+ []
9494 );
9595
9696 $ frontend_feedback = [];
You can’t perform that action at this time.
0 commit comments