Skip to content

Commit

Permalink
Merge pull request openhab#125 from kgoderis/sonos
Browse files Browse the repository at this point in the history
Fix bug in updateCurrentURIFormatted()
  • Loading branch information
kaikreuzer committed Feb 8, 2015
2 parents 0795c8d + a866116 commit 3a00a6d
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 3a00a6d

Please sign in to comment.