Fix addressees when drop-down for a single user is used

This commit is contained in:
Evan Prodromou 2011-06-21 11:32:26 -04:00
parent 29403a764c
commit 9f785f6734

View File

@ -146,7 +146,7 @@ class ToSelector extends Widget
break;
case 'profile':
$profile = Profile::staticGet('id', $value);
$options['replies'] = $profile->getUri();
$options['replies'] = array($profile->getUri());
if ($private) {
$options['scope'] = Notice::ADDRESSEE_SCOPE;
}