disregard group if not exists but issue error msg

This commit is contained in:
Uwe Steinmann 2020-09-06 07:26:45 +02:00
parent 955f2b7309
commit 973ef339bb

View File

@ -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;