missed a global
This commit is contained in:
parent
996183a2d3
commit
0fe86a6291
@ -41,6 +41,7 @@ class PrivMsgTheme extends Themelet {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public function display_composer(Page $page, User $from, User $to, $subject="") {
|
public function display_composer(Page $page, User $from, User $to, $subject="") {
|
||||||
|
global $user;
|
||||||
$post_url = make_link("pm/send");
|
$post_url = make_link("pm/send");
|
||||||
$h_subject = html_escape($subject);
|
$h_subject = html_escape($subject);
|
||||||
$to_id = $to->id;
|
$to_id = $to->id;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user