1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-03 17:59:21 +02:00

Fix code style

This commit is contained in:
Afterster 2014-05-25 22:54:29 +02:00
parent b16958f44e
commit 811115958e
24 changed files with 33 additions and 35 deletions

View file

@ -93,8 +93,7 @@ switch ($_REQUEST['action']) {
$artist = scrub_in($_REQUEST['artist_name']);
} elseif ($album->artist_count == '1') {
$artist = $album->f_artist_name;
}
else {
} else {
$artist = "";
}
if (isset($_REQUEST['album_name'])) {

View file

@ -67,8 +67,7 @@ if (empty($_REQUEST['step'])) {
$username = $_SERVER['REMOTE_USER'];
} elseif ($_SERVER['HTTP_REMOTE_USER']) {
$username = $_SERVER['HTTP_REMOTE_USER'];
}
else {
} else {
$username = '';
}
$password = '';