Web UI improvements
This commit is contained in:
1 parent
a4bf8b4970
commit
ce6bf18c2f
25 files changed
+1330
-906
No files matched your search
@@ -168,13 +168,7 @@ function policy($_action, $_scope, $_data = null) {
|
||||
case 'delete':
|
||||
switch ($_scope) {
|
||||
case 'domain':
|
||||
if (!is_array($_data['prefid'])) {
|
||||
$prefids = array();
|
||||
$prefids[] = $_data['prefid'];
|
||||
}
|
||||
else {
|
||||
$prefids = $_data['prefid'];
|
||||
}
|
||||
(array)$prefids = $_data['prefid'];
|
||||
foreach ($prefids as $prefid) {
|
||||
if (!is_numeric($prefid)) {
|
||||
$_SESSION['return'] = array(
|
||||
|
||||
Reference in new issue
Block a user