From abf321f2fb25d1750c96a67807bcda84a63ba497 Mon Sep 17 00:00:00 2001 From: ben Date: Mon, 23 Feb 2009 10:29:43 +0000 Subject: Added site default access permissions. Refs #744 git-svn-id: https://code.elgg.org/elgg/trunk@2885 36083f99-b078-4883-b0ff-0f9b5a30f544 --- mod/profile/actions/edit.php | 1 + 1 file changed, 1 insertion(+) (limited to 'mod/profile/actions/edit.php') 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)) { -- cgit v1.2.3