]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - lib/noticeform.php
Merge remote-tracking branch 'mainline/1.0.x' into people_tags_rebase
[quix0rs-gnu-social.git] / lib / noticeform.php
index 01a462aad1bbbfc03ea85ed43a36b5756d358e93..ee4e2ca9670fe8dbf29b16f29dbe21641099641e 100644 (file)
@@ -83,7 +83,7 @@ class NoticeForm extends Form
     var $to_group;
 
     /** select this user from the drop-down by default. */
-    var $to_user;
+    var $to_profile;
 
     /** Pre-click the private checkbox. */
     var $private;
@@ -238,10 +238,10 @@ class NoticeForm extends Form
             }
             $this->out->hidden('notice_in-reply-to', $this->inreplyto, 'inreplyto');
 
-            $this->out->elementStart('div');
+            $this->out->elementStart('div', 'to-selector');
             $toWidget = new ToSelector($this->out,
                                        $this->user,
-                                       (!empty($this->to_group) ? $this->to_group : $this->to_user));
+                                       (!empty($this->to_group) ? $this->to_group : $this->to_profile));
 
             $toWidget->show();
             $this->out->elementEnd('div');