From 32b373015b433bcd8ab88ca0a759d30bc8f55a17 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?C=C3=B4me=20Bernigaud?= <come.bernigaud@opensides.be>
Date: Tue, 11 Mar 2014 08:47:58 +0100
Subject: [PATCH] Fixes #2979 FusionDirectory could detect old ACL format

---
 include/class_acl.inc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/class_acl.inc b/include/class_acl.inc
index 48112bb78..e22e89e72 100644
--- a/include/class_acl.inc
+++ b/include/class_acl.inc
@@ -166,7 +166,7 @@ class acl extends plugin
 
     /* Handle unknown types */
     if (!in_array($type, array('subtree', 'base'))) {
-      msg_dialog::display(_("Internal error"), sprintf(_("Unkown ACL type '%s'!"), $type), ERROR_DIALOG);
+      msg_dialog::display(_("Internal error"), sprintf(_("Unkown ACL type '%s'!\nYou might need to run \"fusiondirectory-setup --migrate-acls\" to migrate your acls to the new format."), $type), ERROR_DIALOG);
       $a = array();
     }
     return $a;
-- 
GitLab