From 3ef207837c4dca6baa1994d4e7eacb57c26bb1cd Mon Sep 17 00:00:00 2001 From: sc979 <34628915+sc979@users.noreply.github.com> Date: Tue, 15 Oct 2019 10:19:56 +0200 Subject: [PATCH] fix(cron): renaming bound variable name (#7984) --- cron/centAcl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cron/centAcl.php b/cron/centAcl.php index 130fafef443..6e5a8f376bb 100644 --- a/cron/centAcl.php +++ b/cron/centAcl.php @@ -284,7 +284,7 @@ while ($rowData = $res1->fetch()) { $stmt = $pearDB->prepare( "INSERT INTO acl_resources_sg_relations (sg_id, acl_res_id) - VALUES (:sgIg, :aclResId)" + VALUES (:sgId, :aclResId)" ); $stmt->bindValue(':sgId', $rowData['sg_id'], \PDO::PARAM_INT); $stmt->bindValue(':aclResId', $row['acl_res_id'], \PDO::PARAM_INT);