diff -r d7bee09d98fe -r f6c1336dbef8 inc/toolkit.inc.php --- 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 "
\n"; - is_array($var) ? print_r($var) : echo $var ; + if (is_array($var)) { print_r($var) ; } else { echo $var ; } echo "\n"; }