fixed parser error

Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
Roland Häder 2017-07-16 20:35:42 +02:00
parent 1c9dc6526f
commit 78ffd5b80f
No known key found for this signature in database
GPG key ID: B72F8185C6C7BD78

View file

@ -275,6 +275,13 @@ function permissions_sql($owner_id, $remote_verified = false, $groups = null)
*/ */
if ($local_user && $local_user == $owner_id) { if ($local_user && $local_user == $owner_id) {
$sql = ''; $sql = '';
/**
* Authenticated visitor. Unless pre-verified,
* check that the contact belongs to this $owner_id
* and load the groups the visitor belongs to.
* If pre-verified, the caller is expected to have already
* done this and passed the groups into this function.
*/
} elseif ($remote_user) { } elseif ($remote_user) {
/* /*
* Authenticated visitor. Unless pre-verified, * Authenticated visitor. Unless pre-verified,