X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fprint_profiles.php;h=f9972980fc7b0800650181c84b4ddf06f6950e01;hb=d23b97ed26bc0608c9ba1037b66058c709e83765;hp=59f9ec8085ff1c0b10723eb8e545aac54c78bcef;hpb=5725ec31293c82da0aa1f182bfe4755ee7e0f11a;p=fa-stable.git diff --git a/admin/print_profiles.php b/admin/print_profiles.php index 59f9ec80..f9972980 100644 --- a/admin/print_profiles.php +++ b/admin/print_profiles.php @@ -23,13 +23,13 @@ $selected_id = get_post('profile_id',''); // Returns array of defined reports // function get_reports() { - global $path_to_root, $comp_path, $go_debug; + global $path_to_root, $go_debug; if ($go_debug || !isset($_SESSION['reports'])) { // to save time, store in session. $paths = array ( $path_to_root.'/reporting/', - $comp_path .'/'. user_company() . '/reporting/'); + company_path(). '/reporting/'); $reports = array( '' => _('Default printing destination')); foreach($paths as $dirno => $path) {