diff --git a/contrib/pm/theme.php b/contrib/pm/theme.php index f20eee1a..2a6eb356 100644 --- a/contrib/pm/theme.php +++ b/contrib/pm/theme.php @@ -41,6 +41,7 @@ class PrivMsgTheme extends Themelet { } public function display_composer(Page $page, User $from, User $to, $subject="") { + global $user; $post_url = make_link("pm/send"); $h_subject = html_escape($subject); $to_id = $to->id;