company_path() helper used.
[fa-stable.git] / includes / ui / ui_view.inc
index f2dc7646c810dfbb3c8d7981ced267d032dba643..fe54a261bc2637c68c444ad678d816636701c343 100644 (file)
@@ -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) {