X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_view.inc;h=fe54a261bc2637c68c444ad678d816636701c343;hb=d23b97ed26bc0608c9ba1037b66058c709e83765;hp=65b6bf91f00541814f581ad3dcc62616870f6b24;hpb=5f06887dedd4d14701864fb72994d7e20352086d;p=fa-stable.git
diff --git a/includes/ui/ui_view.inc b/includes/ui/ui_view.inc
index 65b6bf91..fe54a261 100644
--- a/includes/ui/ui_view.inc
+++ b/includes/ui/ui_view.inc
@@ -799,8 +799,8 @@ function get_js_png_fix()
function get_js_date_picker()
{
- global $comp_path, $go_debug;
- $fpath = $comp_path.'/'.user_company().'/js_cache/'.'date_picker.js';
+ global $go_debug;
+ $fpath = company_path().'/js_cache/'.'date_picker.js';
if (!file_exists($fpath) || $go_debug) {
@@ -1266,7 +1266,7 @@ if (!function_exists('_vd'))
$str = (!empty($title) ? ($title .':') : '') .'
';
$str .= print_r($mixed, true); //var_dump($mixed);
$str .= "
\n";
- display_error('');
+ display_notification('');
if ($exit)
exit;
}