dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f4e0e2
)
(bug 28834) Restore nl2br() wrappers removed in r85918.
author
Happy-melon
<happy-melon@users.mediawiki.org>
Sat, 7 May 2011 13:24:47 +0000
(13:24 +0000)
committer
Happy-melon
<happy-melon@users.mediawiki.org>
Sat, 7 May 2011 13:24:47 +0000
(13:24 +0000)
includes/Exception.php
patch
|
blob
|
history
diff --git
a/includes/Exception.php
b/includes/Exception.php
index
1db0b02
..
e801278
100644
(file)
--- a/
includes/Exception.php
+++ b/
includes/Exception.php
@@
-493,7
+493,7
@@
function wfReportException( Exception $e ) {
if ( $cmdLine ) {
wfPrintError( $message );
} else {
- wfDie(
htmlspecialchars( $message
) ) . "\n";
+ wfDie(
nl2br( htmlspecialchars( $message )
) ) . "\n";
}
}
} else {
@@
-507,7
+507,7
@@
function wfReportException( Exception $e ) {
if ( $cmdLine ) {
wfPrintError( $message );
} else {
- wfDie(
htmlspecialchars( $message
) ) . "\n";
+ wfDie(
nl2br( htmlspecialchars( $message )
) ) . "\n";
}
}
}