Commented something out which disrupts backend layout.
The phrase 'userid: ' plus the actual user id is being emitted at a somewhat arbitrary positon in the backend when editing a user. If this actually serves a purpose, I'm happy to add it back, but it doesn't seem to …
This commit is contained in:
parent
bccff56e74
commit
11b9c86ad0
@ -204,8 +204,9 @@ if ( ($serendipity['GET']['adminAction'] == 'edit' && serendipity_checkPermissio
|
||||
if ($serendipity['GET']['adminAction'] == 'edit') {
|
||||
$user = serendipity_fetchUsers($serendipity['GET']['userid']);
|
||||
$group_intersect = serendipity_intersectGroup($user[0]['authorid']);
|
||||
echo "userid: ";
|
||||
echo $serendipity['GET']['userid'];
|
||||
// Unless someone has an idea what purpose this serves …?
|
||||
// echo "userid: ";
|
||||
// echo $serendipity['GET']['userid'];
|
||||
if ($user[0]['userlevel'] >= $serendipity['serendipityUserlevel'] && $user[0]['authorid'] != $serendipity['authorid'] && !serendipity_checkPermission('adminUsersMaintainOthers')) {
|
||||
$data['no_create_permission'] = true;
|
||||
$from = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user