mirror of
https://github.com/moodle/moodle.git
synced 2025-01-17 21:49:15 +01:00
MDL-22411 Avoid htmlspecialchars so that large objects actually work
This commit is contained in:
parent
13201d81ee
commit
9f4ec46df1
@ -2279,7 +2279,9 @@ function count_login_failures($mode, $username, $lastlogin) {
|
||||
* @return void OUtput is echo'd
|
||||
*/
|
||||
function print_object($object) {
|
||||
echo '<pre class="notifytiny">' . htmlspecialchars(print_r($object,true)) . '</pre>';
|
||||
echo '<pre class="notifytiny">';
|
||||
print_r($object); // Direct to output because some objects get too big for memory otherwise!
|
||||
echo '</pre>';
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
x
Reference in New Issue
Block a user