瀏覽代碼

Deletion from “InstBlocks” table returned wrong message saying the deletion was applied to “Instances” table, now it correctly says it is applied to “InstBlocks” table

pezcurrel 1 月之前
父節點
當前提交
008864ede1
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      web/lib/delinstbyid.php

+ 1 - 1
web/lib/delinstbyid.php

@@ -6,7 +6,7 @@ function delinstbyid(&$link,&$id,$efunc,$eol) {
 	if (!query($link,'DELETE FROM InstActivity WHERE InstID='.$id,'eecho',$eol)) return(false);
 	$efunc('Deleted '.mysqli_affected_rows($link).' records from InstActivity table.'.$eol);
 	if (!query($link,'DELETE FROM InstBlocks WHERE InstID='.$id,'eecho',$eol)) return(false);
-	$efunc('Deleted '.mysqli_affected_rows($link).' records from Instances table.'.$eol);
+	$efunc('Deleted '.mysqli_affected_rows($link).' records from InstBlocks table.'.$eol);
 	if (!query($link,'DELETE FROM InstChecks WHERE InstID='.$id,'eecho',$eol)) return(false);
 	$efunc('Deleted '.mysqli_affected_rows($link).' records from InstChecks table.'.$eol);
 	if (!query($link,'DELETE FROM InstFinancing WHERE InstID='.$id,'eecho',$eol)) return(false);