]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
make to_user/to_profile consistent in NoticeForm
authorEvan Prodromou <evan@status.net>
Mon, 28 Mar 2011 16:13:46 +0000 (12:13 -0400)
committerEvan Prodromou <evan@status.net>
Mon, 28 Mar 2011 16:13:46 +0000 (12:13 -0400)
lib/noticeform.php

index 01a462aad1bbbfc03ea85ed43a36b5756d358e93..0f4207e4ae02b61f7407298224cd5974eae412fd 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;
@@ -241,7 +241,7 @@ class NoticeForm extends Form
             $this->out->elementStart('div');
             $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');