aboutsummaryrefslogtreecommitdiff
path: root/mod/profile/actions/edit.php
diff options
context:
space:
mode:
Diffstat (limited to 'mod/profile/actions/edit.php')
-rw-r--r--mod/profile/actions/edit.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/mod/profile/actions/edit.php b/mod/profile/actions/edit.php
index 7a4716646..95a669a69 100644
--- a/mod/profile/actions/edit.php
+++ b/mod/profile/actions/edit.php
@@ -44,6 +44,7 @@
if (isset($accesslevel[$shortname])) {
$access_id = (int) $accesslevel[$shortname];
} else {
+ // this should never be executed since the access level should always be set
$access_id = ACCESS_PRIVATE;
}
if (is_array($value)) {