Subversion Repositories ALCASAR

Rev

Rev 1846 | Rev 2817 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 1846 Rev 2403
Line 244... Line 244...
244
	die("Max Results is not in numeric form. Exiting abnormally.");
244
	die("Max Results is not in numeric form. Exiting abnormally.");
245
 
245
 
246
$query_view = '';
246
$query_view = '';
247
foreach ($accounting_show_attrs as $val)
247
foreach ($accounting_show_attrs as $val)
248
	$query_view .= $val . ',';
248
	$query_view .= $val . ',';
249
$query_view = ereg_replace(',$','',$query_view);
249
$query_view = preg_replace('/,$/','',$query_view);
250
unset($sql_extra_query);
250
unset($sql_extra_query);
251
if (isset($config['sql_accounting_extra_query'])){
251
if (isset($config['sql_accounting_extra_query'])){
252
	$sql_extra_query = xlat($config['sql_accounting_extra_query'],$login,$config);
252
	$sql_extra_query = xlat($config['sql_accounting_extra_query'],$login,$config);
253
	$sql_extra_query = da_sql_escape_string($link,$sql_extra_query);
253
	$sql_extra_query = da_sql_escape_string($link,$sql_extra_query);
254
}
254
}