From 78f12f42d88fa885a6ac12642ebf2febcf703161 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Tue, 22 Dec 2015 19:43:55 +0000 Subject: [PATCH] PHP 7 --- lam/lib/modules/nisNetGroupUser.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lam/lib/modules/nisNetGroupUser.inc b/lam/lib/modules/nisNetGroupUser.inc index 6ce53396..70b7de34 100644 --- a/lam/lib/modules/nisNetGroupUser.inc +++ b/lam/lib/modules/nisNetGroupUser.inc @@ -559,7 +559,8 @@ class nisNetGroupUser extends baseModule { $current = ldapGetDN($dn, array('nisnetgrouptriple')); if (empty($current)) { $errors[] = array('ERROR', sprintf(_('Was unable to modify attributes of DN: %s.'), $dn)); - continue; + $temp['counter']++; + return; } $triples = empty($current['nisnetgrouptriple']) ? array() : $current['nisnetgrouptriple']; $triples = array_merge($temp['groups'][$dn], $triples);