]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix addressees when drop-down for a single user is used
authorEvan Prodromou <evan@status.net>
Tue, 21 Jun 2011 15:32:26 +0000 (11:32 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 21 Jun 2011 15:32:26 +0000 (11:32 -0400)
lib/toselector.php

index f131147dd683ee93f2e6d21e7f1e305a3c376ceb..ba9593f0b33bfb2b62a64bbbcbba0e959b5f5e47 100644 (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;
             }