Commit 076b8951 authored by Ad Schellevis's avatar Ad Schellevis

only retrieve accounting info on user request...

parent c2d5bf4f
......@@ -91,8 +91,12 @@ if (!empty($cpzone)) {
}
$cpdb = $cpdb_handle->listClients(array(),"and",array($order) ) ;
$accounting_info = $cpclient_handle->list_accounting();
if ($_GET['showact']) {
$accounting_info = $cpclient_handle->list_accounting();
}
else {
$accounting_info = array() ;
}
}
else {
$cpdb = array() ;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment