mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 05:57:34 +00:00
disregard group if not exists but issue error msg
This commit is contained in:
parent
955f2b7309
commit
973ef339bb
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue
Block a user