Merge pull request #4765 from MrPetovan/bug/4730-fix-profile-list
Fix contact profile visibility list
This commit is contained in:
commit
29d18a7ed7
1 changed files with 10 additions and 10 deletions
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue