diff -r 61c49e66c9b0 -r d7bee09d98fe inc/toolkit.inc.php --- a/inc/toolkit.inc.php Wed Mar 26 14:02:59 2008 +0000 +++ b/inc/toolkit.inc.php Wed Mar 26 14:48:25 2008 +0000 @@ -289,9 +289,10 @@ } } -function debug_r($array) { +// Debug print +function dp($var) { echo "
\n";
-	print_r($array);
+	is_array($var) ? print_r($var) : echo $var ;
 	echo "
\n"; }