summaryrefslogtreecommitdiff
path: root/actions/newmessage.php
diff options
context:
space:
mode:
Diffstat (limited to 'actions/newmessage.php')
-rw-r--r--actions/newmessage.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/actions/newmessage.php b/actions/newmessage.php
index 27fa9d518..6221b67e9 100644
--- a/actions/newmessage.php
+++ b/actions/newmessage.php
@@ -127,7 +127,7 @@ class NewmessageAction extends Action
array($this, 'show_top'));
if ($msg) {
- common_element('p', array('id'=>'error'), $msg);
+ $this->element('p', array('id'=>'error'), $msg);
}
common_show_footer();