mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
better check fro repair parameter
This commit is contained in:
parent
9e5224a661
commit
10ecff6142
|
@ -102,7 +102,7 @@ $processwithoutusergroup = array();
|
|||
foreach(array('review', 'approval', 'receipt', 'revision') as $process) {
|
||||
foreach(array('user', 'group') as $ug) {
|
||||
if(!isset($_GET['action']) || $_GET['action'] == 'list'.ucfirst($process).'Without'.ucfirst($ug)) {
|
||||
if($_GET['repair'])
|
||||
if(isset($_GET['repair']) && $_GET['repair'])
|
||||
$dms->removeProcessWithoutUserGroup($process, $ug, isset($_GET['required']) ? $_GET['required'] : '');
|
||||
$processwithoutusergroup[$process][$ug] = $dms->getProcessWithoutUserGroup($process, $ug);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user