diff --git a/htdocs/accountancy/admin/account.php b/htdocs/accountancy/admin/account.php index 9f120045951..bc8fff8395c 100644 --- a/htdocs/accountancy/admin/account.php +++ b/htdocs/accountancy/admin/account.php @@ -101,7 +101,7 @@ if (empty($reshook)) $search_array_options=array(); } - if (GETPOST('change_chart', 'alpha') && GETPOST('valid_change_chart', 'int')) + if (GETPOST('change_chart', 'alpha') && (GETPOST('valid_change_chart', 'int') || empty($conf->use_javascript_ajax))) { $chartofaccounts = GETPOST('chartofaccounts', 'int'); @@ -237,21 +237,24 @@ if ($resql) if ($search_pcgsubtype) $param.= '&search_pcgsubtype='.urlencode($search_pcgsubtype); if ($optioncss != '') $param.='&optioncss='.$optioncss; - print ' - '; + if (! empty($conf->use_javascript_ajax)) + { + print ' + '; + } print '