inc/toolkit.inc.php
changeset 91 f6c1336dbef8
parent 90 d7bee09d98fe
child 107 fee925b9bdef
--- a/inc/toolkit.inc.php	Wed Mar 26 14:48:25 2008 +0000
+++ b/inc/toolkit.inc.php	Wed Mar 26 14:56:43 2008 +0000
@@ -290,9 +290,9 @@
 }
 
 // Debug print
-function dp($var) {
+function debug_print($var) {
 	echo "<pre style=\"border: 2px solid blue;\">\n";
-	is_array($var) ? print_r($var) : echo $var ;
+	if (is_array($var)) { print_r($var) ; } else { echo $var ; } 
 	echo "</pre>\n";
 }