a.binder 8 роки тому
батько
коміт
544daafaca
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      SE/se-lib/Route/UrlAction/BiAuditGenerate.php

+ 1 - 1
SE/se-lib/Route/UrlAction/BiAuditGenerate.php

@@ -1998,7 +1998,7 @@ class BiAuditRelations {
 			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('#2001 DEBUG not found ref table fromTable:'.$fromTable,' toTable:',$toTable);
 	}
 
 	public function findRelations($ID) {