a.binder 8 anos atrás
pai
commit
fa360e5336
1 arquivos alterados com 8 adições e 4 exclusões
  1. 8 4
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

+ 8 - 4
SE/se-lib/Route/UrlAction/BiAuditGenerate.php

@@ -2020,11 +2020,15 @@ class BiAuditRelations {
 		if ($refTable = $this->refTables->getRefTable($fromTable, $toTable)) {
 			if (!DB::getPDO()->fetchValue("select count(*) from `{$refTable}` where `PRIMARY_KEY` = '{$fromID}' and `REMOTE_PRIMARY_KEY` = '{$toID}' and `A_STATUS` != 'DELETED'")) {
 				DB::getPDO()->insert($refTable, ['PRIMARY_KEY' => $fromID, 'REMOTE_PRIMARY_KEY' => $toID, 'A_STATUS' => 'NORMAL', 'TRANSACTION_ID' => '-1']);
-			} else  { error_log('\n#2000 DEBUG found some records in REFs for table fromTable:'.$fromTable.' toTable:'.$toTable); 
-				echo '\n#2000 DEBUG found some records in REFs for table fromTable:'.$fromTable.' toTable:'.$toTable;
+			} else  { error_log('\n
+				#2000 DEBUG found some records in REFs for table fromTable:'.$fromTable.' toTable:'.$toTable); 
+				echo '\n
+				#2000 DEBUG found some records in REFs for table fromTable:'.$fromTable.' toTable:'.$toTable;
 			}
-		} else { error_log('\n#2001 DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable);
-				 echo '\n#2001 DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable ;
+		} else { error_log('\n
+			#2001 DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable);
+				 echo '\n
+				 #2001 DEBUG not found ref table fromTable:'.$fromTable.' toTable:'.$toTable ;
 		}
 	}