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/DataField.class.php | |
| parent | 244d00ed91ad2b4b83e902a45cd6def3d7bc7e86 (diff) | |
let phpcsfixer fix errors according to @PSR12 rules on lib/modelsphpcsfixer
Diffstat (limited to 'lib/models/DataField.class.php')
| -rw-r--r-- | lib/models/DataField.class.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/models/DataField.class.php b/lib/models/DataField.class.php index ae7b7ac..b175522 100644 --- a/lib/models/DataField.class.php +++ b/lib/models/DataField.class.php @@ -227,8 +227,7 @@ class DataField extends SimpleORMap implements PrivacyObject // user may see his own data if this either no system field // or the user may edit the field if ($watcher && $user && $user === $watcher && - (!$this->system || $this->editAllowed($perm))) - { + (!$this->system || $this->editAllowed($perm))) { return true; } |
