From 0c4fccead5988e72359db630ed63fac78ddac71b Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 13 Jan 2010 18:55:22 +0000 Subject: [PATCH] fixed DN in PDF documents --- lam/lib/modules.inc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/lam/lib/modules.inc b/lam/lib/modules.inc index 69dbbee3..fbf5e8db 100644 --- a/lam/lib/modules.inc +++ b/lam/lib/modules.inc @@ -1942,7 +1942,11 @@ class accountContainer { $return = array_merge($return,$current->get_pdfEntries()); next($this->module); } - $return = array_merge($return,array('main_dn' => array('' . _('DN') . '' . $this->dn . ''))); + $dn = $this->dn_orig; + if (isset($this->finalDN)) { + $dn = $this->finalDN; + } + $return = array_merge($return,array('main_dn' => array('' . _('DN') . '' . $dn . ''))); return $return; }