mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-01 22:47:19 +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)) {
|
if($group = $dms->getGroupByName($coldata)) {
|
||||||
$objdata['groups'][$gn] = $group;
|
$objdata['groups'][$gn] = $group;
|
||||||
} else {
|
} else {
|
||||||
$objdata['groups'][$gn] = null;
|
// $objdata['groups'][$gn] = null;
|
||||||
$objdata['__logs__'][] = array('type'=>'error', 'msg'=> "No such group with name '".$coldata."'");
|
$objdata['__logs__'][] = array('type'=>'error', 'msg'=> "No such group with name '".$coldata."'");
|
||||||
}
|
}
|
||||||
return $objdata;
|
return $objdata;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user