aboutsummaryrefslogtreecommitdiff
path: root/lib/models/DataField.class.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/models/DataField.class.php')
-rw-r--r--lib/models/DataField.class.php3
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;
}