From 64e17344d0fa5e721f7ed41b2413bd749c9e4037 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 17 Oct 2007 17:53:08 +0000 Subject: [PATCH] fixed PDF --- lam/lib/modules/sambaDomain.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lam/lib/modules/sambaDomain.inc b/lam/lib/modules/sambaDomain.inc index e608cc36..b3f1516e 100644 --- a/lam/lib/modules/sambaDomain.inc +++ b/lam/lib/modules/sambaDomain.inc @@ -662,8 +662,8 @@ class sambaDomain extends baseModule { if ($this->attributes['sambaRefuseMachinePwdChange'][0] == 0) $refuseMachinePwdChange = _('On'); $return['sambaDomain_refuseMachinePwdChange'][0] = '' . _('Allow machine password changes') . '' . $refuseMachinePwdChange . ''; } - if (isset($this->attributes['sambaLockoutThreshold'])) { - $return['sambaDomain_lockoutThreshold'][0] = '' . _('Lockout users after bad logon attempts') . '' . $this->attributes['sambaLockoutThreshold'] . ''; + if (isset($this->attributes['sambaLockoutThreshold'][0])) { + $return['sambaDomain_lockoutThreshold'][0] = '' . _('Lockout users after bad logon attempts') . '' . $this->attributes['sambaLockoutThreshold'][0] . ''; } if (isset($this->attributes['sambaMinPwdAge'])) { $return['sambaDomain_minPwdAge'][0] = '' . _('Minimum password age') . '' . implode(', ', $this->attributes['sambaMinPwdAge']) . '';