diff --git a/lam/lib/modules/nisNetGroupUser.inc b/lam/lib/modules/nisNetGroupUser.inc index b95ecd46..40c218c6 100644 --- a/lam/lib/modules/nisNetGroupUser.inc +++ b/lam/lib/modules/nisNetGroupUser.inc @@ -288,6 +288,10 @@ class nisNetGroupUser extends baseModule { * @return array array which contains status messages. Each entry is an array containing the status message parameters. */ public function postModifyActions($newAccount, $attributes) { + $accountContainer = $this->getAccountContainer(); + if (empty($accountContainer)) { + return array(); + } $uid = $this->getUid(); if (empty($uid)) { return array();