a.binder 8 years ago
parent
commit
1b0d527c74
1 changed files with 2 additions and 0 deletions
  1. 2 0
      SE/dev/audit_krs_con_digger/audit_krs_con_digger.php

+ 2 - 0
SE/dev/audit_krs_con_digger/audit_krs_con_digger.php

@@ -285,6 +285,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time) {
 			  while($h=$db->fetch($res)) {
 			  while($h=$db->fetch($res)) {
 				  echo "\n<br> #149 found ";// print_r($h);
 				  echo "\n<br> #149 found ";// print_r($h);
 				 $hist_loop[$T][]=$h;
 				 $hist_loop[$T][]=$h;
+				 $hist_time[][$T]=$sql_ext;
 				 $hist_time[][$T]=$h;
 				 $hist_time[][$T]=$h;
 				// print_r($hist_loop);
 				// print_r($hist_loop);
 				 
 				 
@@ -299,6 +300,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time) {
 						 echo "<br>#159 ref tbl ".$sql_rel_rec;
 						 echo "<br>#159 ref tbl ".$sql_rel_rec;
 						 while($h_rel_rec=$db->fetch($res_rel_rec)){
 						 while($h_rel_rec=$db->fetch($res_rel_rec)){
 							 $hist_loop[$ref_table][]=$h_rel_rec;
 							 $hist_loop[$ref_table][]=$h_rel_rec;
+							 $hist_time[][$ref_table]=$sql_rel_rec;
 							 $hist_time[][$ref_table]=$h_rel_rec;
 							 $hist_time[][$ref_table]=$h_rel_rec;
 							 dig_next($hist_loop,$tables['Z'][$ref_table],$h_rel_rec,$loop,$hist_time);
 							 dig_next($hist_loop,$tables['Z'][$ref_table],$h_rel_rec,$loop,$hist_time);
 						 }
 						 }