From: Raphaƫl Gertz <git@rapsys.eu>
Date: Thu, 31 Oct 2024 06:02:46 +0000 (+0100)
Subject: Cleanup
X-Git-Tag: 0.5.1~6
X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/35e4301f462bb79099427f7669d22081ad860d8b

Cleanup
---

diff --git a/Controller/UserController.php b/Controller/UserController.php
index 4751dc4..f72a4ee 100644
--- a/Controller/UserController.php
+++ b/Controller/UserController.php
@@ -638,7 +638,7 @@ class UserController extends AbstractController {
 					} else {
 						//Throw exception
 						//XXX: consider missing group as fatal
-						throw new \Exception(sprintf('Group %s listed in %s.default.group[%d] not found by title', $groupTitle, RapsysUserBundle::getAlias(), $i));
+						throw new \Exception(sprintf('Group %s listed in %s.default.group[%d] not found by title', $groupTitle, $this->alias, $i));
 					}
 				}