diff options
author | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 12:14:55 +0000 |
---|---|---|
committer | ben <ben@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-07-18 12:14:55 +0000 |
commit | a50a1937ca193ca10553e93c609351a396fe4942 (patch) | |
tree | 8e363053afa6d94e12caa2dd0283067b7ed97788 /views/failsafe/messages/exceptions/exception.php | |
parent | 961fc5a437c8d458884560485864d057aa807a25 (diff) | |
download | elgg-a50a1937ca193ca10553e93c609351a396fe4942.tar.gz elgg-a50a1937ca193ca10553e93c609351a396fe4942.tar.bz2 |
Added the autop function, replaced any references to nl2br
git-svn-id: https://code.elgg.org/elgg/trunk@1468 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/failsafe/messages/exceptions/exception.php')
-rw-r--r-- | views/failsafe/messages/exceptions/exception.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/failsafe/messages/exceptions/exception.php b/views/failsafe/messages/exceptions/exception.php index c8c630f3b..0b280107f 100644 --- a/views/failsafe/messages/exceptions/exception.php +++ b/views/failsafe/messages/exceptions/exception.php @@ -21,7 +21,7 @@ <span title="<?php echo get_class($vars['object']); ?>"> <?php - echo nl2br($vars['object']->getMessage()); + echo autop($vars['object']->getMessage()); ?> </span> @@ -32,7 +32,7 @@ <p class="messages-exception-detail"> <?php - echo nl2br(htmlentities(print_r($vars['object'], true))); + echo autop(htmlentities(print_r($vars['object'], true))); ?> </p> |