Browse Source

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 month ago
parent
commit
008864ede1
1 changed files with 1 additions and 1 deletions
  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);