Update include/admin/groups.inc.php

stick to constant string and revert 5c3b2d3
This commit is contained in:
Ian 2013-02-20 17:16:55 +01:00
parent 319231ecf4
commit b4b3541088

View File

@ -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();