mirror of
https://github.com/moodle/moodle.git
synced 2025-04-14 04:52:36 +02:00
Make sure print_object output is always left-aligned. Also, make it look more like other debugging output.
This commit is contained in:
parent
7d0763a008
commit
1aa7b31dd9
@ -1615,7 +1615,7 @@ function count_login_failures($mode, $username, $lastlogin) {
|
||||
* @param mixed $object The data to be printed
|
||||
*/
|
||||
function print_object($object) {
|
||||
echo '<pre>'.htmlspecialchars(print_r($object,true)).'</pre>';
|
||||
echo '<pre class="notifytiny">' . htmlspecialchars(print_r($object,true)) . '</pre>';
|
||||
}
|
||||
|
||||
function course_parent_visible($course = null) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user