aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/messages.php
diff options
context:
space:
mode:
authorPaweł Sroka <srokap@gmail.com>2012-11-04 08:25:28 +0100
committerPaweł Sroka <srokap@gmail.com>2012-11-04 08:25:28 +0100
commit3bf72994688ad9292bf37444d80ab5ab1a002748 (patch)
tree2fcdd2f2773e3bf4cc0af9e8133918133a6f6760 /views/default/page/elements/messages.php
parentb2232139f13b759e8f5ce62def75eaeaa530a5b6 (diff)
downloadelgg-3bf72994688ad9292bf37444d80ab5ab1a002748.tar.gz
elgg-3bf72994688ad9292bf37444d80ab5ab1a002748.tar.bz2
Fixes #1479 - Replaces WP autop with implementation from Steve Clay.
Diffstat (limited to 'views/default/page/elements/messages.php')
-rw-r--r--views/default/page/elements/messages.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/views/default/page/elements/messages.php b/views/default/page/elements/messages.php
index a35a48586..edd40d71e 100644
--- a/views/default/page/elements/messages.php
+++ b/views/default/page/elements/messages.php
@@ -18,7 +18,7 @@ if (isset($vars['object']) && is_array($vars['object']) && sizeof($vars['object'
foreach ($vars['object'] as $type => $list ) {
foreach ($list as $message) {
echo "<li class=\"elgg-message elgg-state-$type\">";
- echo autop($message);
+ echo elgg_autop($message);
echo '</li>';
}
}