Skip to content

Commit

Permalink
reformat whitespace
Browse files Browse the repository at this point in the history
cosmetic update to b2f9515
  • Loading branch information
JamesHeinrich committed Mar 27, 2017
1 parent d108006 commit 70a5809
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions getid3/write.php
Original file line number Diff line number Diff line change
Expand Up @@ -530,17 +530,16 @@ public function FormatDataForID3v2($id3v2_majorversion) {
return false;
}
break;

case 'TXXX':
foreach ($valuearray as $key => $txxx_data_array) {
if (isset($txxx_data_array['description']) &&
isset($txxx_data_array['data'])) {
$tag_data_id3v2['TXXX'][] = $txxx_data_array;
} else {
$this->errors[] = 'ID3v2 TXXX data is not properly structured';
return false;
}
}
if (isset($txxx_data_array['description']) && isset($txxx_data_array['data'])) {
$tag_data_id3v2['TXXX'][] = $txxx_data_array;
} else {
$this->errors[] = 'ID3v2 TXXX data is not properly structured';
return false;
}
}
break;

case '':
Expand Down

0 comments on commit 70a5809

Please sign in to comment.