Add subscribed users to dropdown menu.
This commit is contained in:
parent
6478034e92
commit
e46dcc0cc4
|
@ -102,7 +102,12 @@ class ToSelector extends Widget
|
|||
$choices[$value] = $groups->getBestName();
|
||||
}
|
||||
|
||||
// XXX: add users...?
|
||||
// Add subscribed users to dropdown menu
|
||||
$users = $this->user->getSubscribed();
|
||||
while ($users->fetch()) {
|
||||
$value = 'profile:'.$users->id;
|
||||
$choices[$value] = $users->getBestName();
|
||||
}
|
||||
|
||||
if ($this->to instanceof Profile) {
|
||||
$value = 'profile:'.$this->to->id;
|
||||
|
|
Loading…
Reference in New Issue
Block a user