Update include/admin/groups.inc.php
stick to constant string and revert 5c3b2d3
This commit is contained in:
parent
319231ecf4
commit
b4b3541088
@ -71,10 +71,6 @@ if ($serendipity['GET']['adminAction'] == 'edit' || isset($_POST['NEW'])) {
|
||||
} else {
|
||||
$from = array();
|
||||
}
|
||||
// check being constant or var
|
||||
$from['name'] = defined($from['name']) ? constant($from['name']) : $from['name'];
|
||||
$from['confvalue'] = defined($from['confvalue']) ? constant($from['confvalue']) : $from['confvalue'];
|
||||
|
||||
$data['from'] = $from;
|
||||
|
||||
$allusers = serendipity_fetchUsers();
|
||||
|
Loading…
x
Reference in New Issue
Block a user