]> git.mjollnir.org Git - moodle.git/commitdiff
Make sure print_object output is always left-aligned. Also, make it look more like...
authortjhunt <tjhunt>
Mon, 2 Apr 2007 15:28:43 +0000 (15:28 +0000)
committertjhunt <tjhunt>
Mon, 2 Apr 2007 15:28:43 +0000 (15:28 +0000)
lib/datalib.php

index 3941a65627063ac71f0001818472cf543c83d6f8..23256723c2946586f859e0de7d645836cb012da7 100644 (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) {