]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Controller/UserController.php
Add alias
[userbundle] / Controller / UserController.php
index 4751dc48490d9fa949faa0d41fb407c31dfc7fa3..f72a4ee2bda1731c75e7b0d68fbb04331685a258 100644 (file)
@@ -638,7 +638,7 @@ class UserController extends AbstractController {
                                        } else {
                                                //Throw exception
                                                //XXX: consider missing group as fatal
                                        } 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));
                                        }
                                }
 
                                        }
                                }