author | rejo |
Wed, 26 Mar 2008 14:56:43 +0000 | |
changeset 91 | f6c1336dbef8 |
parent 90 | d7bee09d98fe |
child 92 | c010ddacea32 |
--- 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"; }