diff options
| author | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2023-05-08 17:08:52 +0200 |
| commit | a1fda2758e9c241ac3eb980ac8716dfedbe9dd3c (patch) | |
| tree | 2190f0478fb153efdb8ba48ebb574c7691f4f351 /lib/models/ContentTermsOfUse.class.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/ContentTermsOfUse.class.php')
| -rw-r--r-- | lib/models/ContentTermsOfUse.class.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/models/ContentTermsOfUse.class.php b/lib/models/ContentTermsOfUse.class.php index 0e939a4..3d57001 100644 --- a/lib/models/ContentTermsOfUse.class.php +++ b/lib/models/ContentTermsOfUse.class.php @@ -184,7 +184,9 @@ class ContentTermsOfUse extends SimpleORMap if ($allow_owner) { if (in_array($context_type, ['course', 'institute']) && Seminar_Perm::get()->have_studip_perm( - 'tutor', $context_id, $user_id + 'tutor', + $context_id, + $user_id ) ) { return true; |
