|
@@ -548,7 +548,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time,$loop,$last_tbl,$path,$ta
|
|
|
$hist_loop_root_cur['hist_time'][]=$h;
|
|
$hist_loop_root_cur['hist_time'][]=$h;
|
|
|
// print_r($hist_loop);
|
|
// print_r($hist_loop);
|
|
|
$path_root=add_path($path,$T);
|
|
$path_root=add_path($path,$T);
|
|
|
- dig_next($hist_loop_root_cur['hist_loop'], $tables['Z'][$T],$h,$loop,$hist_loop_root_cur['hist_time'],$last_tbl,$path_root);
|
|
|
|
|
|
|
+ dig_next($hist_loop_root_cur['hist_loop'], $tables[$table_class][$T],$h,$loop,$hist_loop_root_cur['hist_time'],$last_tbl,$path_root);
|
|
|
//rel dzieci $tables['Z']['BI_audit_CEIDG']['ref'][19]='BI_audit_CEIDG_pelnomocnicy';
|
|
//rel dzieci $tables['Z']['BI_audit_CEIDG']['ref'][19]='BI_audit_CEIDG_pelnomocnicy';
|
|
|
if(isset($tables[$table_class][$T]['ref'])) {
|
|
if(isset($tables[$table_class][$T]['ref'])) {
|
|
|
// echo "<br>#296 try to ref tables for T ".$T."<pre>";
|
|
// echo "<br>#296 try to ref tables for T ".$T."<pre>";
|