From b1783e8d491aa82a1ca7049cd81187624cd09a37 Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Mon, 28 Mar 2011 12:13:46 -0400 Subject: [PATCH] make to_user/to_profile consistent in NoticeForm --- lib/noticeform.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/noticeform.php b/lib/noticeform.php index 01a462aad1..0f4207e4ae 100644 --- a/lib/noticeform.php +++ b/lib/noticeform.php @@ -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'); -- 2.39.2