|
|
@@ -296,7 +296,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time,$loop) {
|
|
|
// print_r($hist_loop);
|
|
|
|
|
|
dig_next($hist_loop, $tables['Z'][$T],$h,$loop,$hist_time);
|
|
|
- //rel dzieci
|
|
|
+ //rel dzieci $tables['Z']['BI_audit_CEIDG']['ref'][19]='BI_audit_CEIDG_pelnomocnicy';
|
|
|
if(isset($tables['Z'][$T]['ref'])) {
|
|
|
echo "<br>#296 try to ref tables <pre>";
|
|
|
print_r($tables['Z'][$T]['ref']);
|
|
|
@@ -319,7 +319,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time,$loop) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+ } else echo "#322 not ref to ".$T;
|
|
|
if(isset($tables['Z'][$T]['backref'])) {
|
|
|
echo "<br>#296 try to backref tables <pre>";
|
|
|
print_r($tables['Z'][$T]['backref']);
|
|
|
@@ -345,7 +345,7 @@ function dig_arr_cur($hist_loop,$T,$sql_ext,$hist_time,$loop) {
|
|
|
|
|
|
}
|
|
|
|
|
|
- }
|
|
|
+ } else echo "#322 not backref to ".$T;
|
|
|
|
|
|
}
|
|
|
|