Make sure print_object output is always left-aligned. Also, make it look more like other debugging output.

This commit is contained in:
tjhunt 2007-04-02 15:28:43 +00:00
parent 7d0763a008
commit 1aa7b31dd9

View File

@ -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) {