|
|
@@ -93,7 +93,7 @@ $tables['Z']['BI_audit_KRS_company']['backref'][11]='BI_audit_KRS';
|
|
|
function start_dig($tables) {
|
|
|
global $db;
|
|
|
foreach($tables['Y'] as $Y=>$t) {
|
|
|
- $sql='select * from '.$Y.' where ID=12 or ID=19 or 1=12 limit 100' ;
|
|
|
+ $sql='select * from '.$Y.' where ID=12 or ID=19 or 1=1 limit 100' ;
|
|
|
$res=$db->query($sql);
|
|
|
while($h=$db->fetch($res)) {
|
|
|
$hist_loop[$Y][]=$h;
|
|
|
@@ -109,7 +109,7 @@ function dig_next($hist_loop,$prev_tbl,$prev_dig,$loop,$hist_time) {
|
|
|
global $db,$tables;
|
|
|
$loop++;
|
|
|
echo "\n<hr>###LOOP ".$loop;
|
|
|
- if($loop<8) {
|
|
|
+ if($loop<15) {
|
|
|
//detect next ref tbls
|
|
|
$sql = array();
|
|
|
$sql_RELAND = array();
|