Skip to content

Commit

Permalink
Fix bug in updateCurrentURIFormatted()
Browse files Browse the repository at this point in the history
Signed-off-by: Karel Goderis <[email protected]>
  • Loading branch information
kgoderis committed Feb 7, 2015
1 parent b490af2 commit a866116
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -643,7 +643,7 @@ protected void updateCurrentURIFormatted() {
List<String> fields = SonosXMLParser
.getRadioTimeFromXML(response);

if (fields != null) {
if (fields != null && fields.size() > 0) {

resultString = new String();
// radio name should be first field
Expand Down

0 comments on commit a866116

Please sign in to comment.