From 771113b449d63a2bd5c8cb0cd9d50e966cf2f131 Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Fri, 9 Feb 2018 11:29:53 +0100
Subject: [PATCH] FEAT #55 Check group actions

---
 src/app/basket/controllers/BasketController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/basket/controllers/BasketController.php b/src/app/basket/controllers/BasketController.php
index 583810f9de0..828073a57cf 100644
--- a/src/app/basket/controllers/BasketController.php
+++ b/src/app/basket/controllers/BasketController.php
@@ -524,7 +524,7 @@ class BasketController
             if ($groupAction['checked']) {
                 $actionExists = false;
                 foreach ($actions as $action) {
-                    if ($action['id'] == $groupAction['id_action']) {
+                    if ($action['id'] == $groupAction['id']) {
                         $actionExists = true;
                     }
                 }
-- 
GitLab