File tree 2 files changed +4
-4
lines changed
modules/api/php/endpoints/candidate/visit/image/format
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -140,13 +140,13 @@ class Raw extends Endpoint implements \LORIS\Middleware\ETagCalculator
140
140
141
141
$ callback = function () use ($ mincpath , $ fullpath ) {
142
142
return shell_exec (
143
- "$ { mincpath}/bin/minctoraw -byte -unsigned -normalize $ fullpath "
143
+ "{ $ mincpath }/bin/minctoraw -byte -unsigned -normalize $ fullpath "
144
144
);
145
145
};
146
146
147
147
return (new \LORIS \Http \Response ())
148
148
->withHeader ('Content-Type ' , 'application/x.raw ' )
149
- ->withHeader ('Content-Disposition ' , "attachment; filename= $ { filename}" )
149
+ ->withHeader ('Content-Disposition ' , "attachment; filename= { $ filename }" )
150
150
->withBody (new \Laminas \Diactoros \CallbackStream ($ callback ));
151
151
}
152
152
Original file line number Diff line number Diff line change @@ -74,8 +74,8 @@ class Database
74
74
if ($ table == '* ' ) {
75
75
$ table = '\* ' ;
76
76
}
77
- $ pattern = "/GRANT .*(ALL| $ { privilege}).* ON " .
78
- " `?([*]| $ { database})`?[.]`?([*]| $ { table})`?/ " ;
77
+ $ pattern = "/GRANT .*(ALL| { $ privilege }).* ON " .
78
+ " `?([*]| { $ database })`?[.]`?([*]| { $ table })`?/ " ;
79
79
80
80
// Test all privileges return from SHOW GRANTS against the pattern
81
81
return array_reduce (
You can’t perform that action at this time.
0 commit comments