Changed _vd() debug function to display notification instead of error.
authorJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 25 Feb 2010 21:14:52 +0000 (21:14 +0000)
committerJanusz Dobrowolski <janusz@frontaccounting.eu>
Thu, 25 Feb 2010 21:14:52 +0000 (21:14 +0000)
includes/ui/ui_view.inc

index 65b6bf91f00541814f581ad3dcc62616870f6b24..f2dc7646c810dfbb3c8d7981ced267d032dba643 100644 (file)
@@ -1266,7 +1266,7 @@ if (!function_exists('_vd'))
        $str = (!empty($title) ? ($title .':') : '') .'<pre>';
        $str .= print_r($mixed, true); //var_dump($mixed);
        $str .= "</pre>\n";
-               display_error('<table><tr><td>'.$str.'</td></tr></table>');
+               display_notification('<table><tr><td>'.$str.'</td></tr></table>');
        if ($exit)
                exit;
        }