make to_user/to_profile consistent in NoticeForm
This commit is contained in:
parent
b0deaad700
commit
b1783e8d49
@ -83,7 +83,7 @@ class NoticeForm extends Form
|
|||||||
var $to_group;
|
var $to_group;
|
||||||
|
|
||||||
/** select this user from the drop-down by default. */
|
/** select this user from the drop-down by default. */
|
||||||
var $to_user;
|
var $to_profile;
|
||||||
|
|
||||||
/** Pre-click the private checkbox. */
|
/** Pre-click the private checkbox. */
|
||||||
var $private;
|
var $private;
|
||||||
@ -241,7 +241,7 @@ class NoticeForm extends Form
|
|||||||
$this->out->elementStart('div');
|
$this->out->elementStart('div');
|
||||||
$toWidget = new ToSelector($this->out,
|
$toWidget = new ToSelector($this->out,
|
||||||
$this->user,
|
$this->user,
|
||||||
(!empty($this->to_group) ? $this->to_group : $this->to_user));
|
(!empty($this->to_group) ? $this->to_group : $this->to_profile));
|
||||||
|
|
||||||
$toWidget->show();
|
$toWidget->show();
|
||||||
$this->out->elementEnd('div');
|
$this->out->elementEnd('div');
|
||||||
|
Loading…
Reference in New Issue
Block a user