From 008864ede1464af9bbcbb5b8ceb5dd5191ae5529 Mon Sep 17 00:00:00 2001 From: pezcurrel Date: Mon, 26 Aug 2024 12:32:55 +0200 Subject: [PATCH] =?UTF-8?q?Deletion=20from=20=E2=80=9CInstBlocks=E2=80=9D?= =?UTF-8?q?=20table=20returned=20wrong=20message=20saying=20the=20deletion?= =?UTF-8?q?=20was=20applied=20to=20=E2=80=9CInstances=E2=80=9D=20table,=20?= =?UTF-8?q?now=20it=20correctly=20says=20it=20is=20applied=20to=20?= =?UTF-8?q?=E2=80=9CInstBlocks=E2=80=9D=20table?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/lib/delinstbyid.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/lib/delinstbyid.php b/web/lib/delinstbyid.php index 1f3a5b9..cdd8271 100644 --- a/web/lib/delinstbyid.php +++ b/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);