From 480522cca1aabdc5572c38be068ab6b983a5a55f Mon Sep 17 00:00:00 2001 From: Linty Date: Tue, 15 Oct 2024 11:26:18 +0200 Subject: [PATCH] fixes #2244 add ignore to prevent errors from duplicate --- include/ws_functions/pwg.groups.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/ws_functions/pwg.groups.php b/include/ws_functions/pwg.groups.php index 1f4320633..642d60072 100644 --- a/include/ws_functions/pwg.groups.php +++ b/include/ws_functions/pwg.groups.php @@ -228,7 +228,8 @@ SELECT COUNT(*) mass_inserts( USER_GROUP_TABLE, array('group_id', 'user_id'), - $inserts + $inserts, + array('ignore' => true) ); include_once(PHPWG_ROOT_PATH.'admin/include/functions.php');