From 70c3405e986ea8aaf01521c3099167e60c9f0a45 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernigaud@opensides.be>
Date: Tue, 5 Aug 2014 13:33:44 +0200
Subject: [PATCH] Fixes #3213 Undefined variable: roledn

---
 setup/class_setupStep_Migrate.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/setup/class_setupStep_Migrate.inc b/setup/class_setupStep_Migrate.inc
index 0427623ce..314b0b31a 100644
--- a/setup/class_setupStep_Migrate.inc
+++ b/setup/class_setupStep_Migrate.inc
@@ -1036,7 +1036,7 @@ class Step_Migrate extends setup_step
             _("Migration error"),
             sprintf(
               _("Cannot add ACL role '%s':")."<br/><br/><i>%s</i>",
-              LDAP::fix($roledn), $ldap->get_error()
+              LDAP::fix($dn), $ldap->get_error()
             ),
             ERROR_DIALOG
           );
-- 
GitLab