a.binder 8 gadi atpakaļ
vecāks
revīzija
2f845f36a9

+ 1 - 1
SE/dev/audit_krs_con_digger/audit_krs_con_digger.php

@@ -383,7 +383,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time,$loop,$last_tbl) {
 				 $hist_time[][$T]=$h;
 				 $hist_time[][$T]=$h;
 				// print_r($hist_loop);
 				// print_r($hist_loop);
 				 
 				 
-				 dig_next($hist_loop, $tables['Z'][$T],$h,$loop,$hist_time);
+				 dig_next($hist_loop, $tables['Z'][$T],$h,$loop,$hist_time,$last_tbl);
 				 //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['Z'][$T]['ref'])) {
 				 if(isset($tables['Z'][$T]['ref'])) {
 				// echo "<br>#296 try to ref tables for T ".$T."<pre>";
 				// echo "<br>#296 try to ref tables for T ".$T."<pre>";