From 973ef339bbf889443a738a68d5d14213e3988f15 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Sun, 6 Sep 2020 07:26:45 +0200 Subject: [PATCH] disregard group if not exists but issue error msg --- op/op.ImportUsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/op/op.ImportUsers.php b/op/op.ImportUsers.php index b5f39128a..c5a98999b 100644 --- a/op/op.ImportUsers.php +++ b/op/op.ImportUsers.php @@ -80,7 +80,7 @@ function getGroupData($colname, $coldata, $objdata) { /* {{{ */ if($group = $dms->getGroupByName($coldata)) { $objdata['groups'][$gn] = $group; } else { - $objdata['groups'][$gn] = null; +// $objdata['groups'][$gn] = null; $objdata['__logs__'][] = array('type'=>'error', 'msg'=> "No such group with name '".$coldata."'"); } return $objdata;