1
1
Fork 0

Merge pull request #4765 from MrPetovan/bug/4730-fix-profile-list

Fix contact profile visibility list
This commit is contained in:
Michael Vogel 2018-04-07 08:23:32 +02:00 committed by GitHub
commit 29d18a7ed7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -27,7 +27,7 @@ class ContactSelector
$o .= "<select id=\"contact-profile-selector\" class=\"form-control\" $disabled name=\"profile-assign\" >\r\n"; $o .= "<select id=\"contact-profile-selector\" class=\"form-control\" $disabled name=\"profile-assign\" >\r\n";
$s = dba::select('profile', ['id', 'profile-name', 'is-default'], ['uid' => $$_SESSION['uid']]); $s = dba::select('profile', ['id', 'profile-name', 'is-default'], ['uid' => $_SESSION['uid']]);
$r = dba::inArray($s); $r = dba::inArray($s);
if (DBM::is_result($r)) { if (DBM::is_result($r)) {