@@ -214,6 +214,7 @@ function dig_next($hist_loop,$prev_tbl,$prev_dig,$loop) {
$sql_t[$T].=" and ID!='".$hist_rec->ID."' ";
}
+ dig_arr_cur($hist_loop,$T,$sql_t[$T]);
// echo "<br> sql_x" ;
//print_r($sql_x);