Unverified Commit e14966c4 authored by Birte Kristina Friesel's avatar Birte Kristina Friesel
Browse files

Users->add: correctly specify default visibility

parent 4845a03f
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -486,7 +486,8 @@ sub add {
		{
			name         => $user_name,
			status       => 0,
			public_level  => $visibility_atoi{unlisted},
			public_level => $visibility_atoi{unlisted}
			  | ( $visibility_atoi{unlisted} << 8 ),
			email         => $email,
			password      => $password,
			registered_at => $now,