Skip to content

Commit

Permalink
[WebUI IntelliHome#7] Minor fixes to the RPC plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
skullbocks committed Aug 20, 2014
1 parent b2ff9be commit ab53ac5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/IntelliHome/WebUI/Plugin/RPC.pm
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,14 @@ sub register {
else {
ref $res->result eq "ARRAY"
? map { $_ = thaw($_); $_ } @{ $res->result }
: ();
: $res->result;
}
}
else {
return
ref $client->tx->res eq "ARRAY"
? map { $_ = thaw($_); $_ } @{ $client->tx->res }
: ();
: $client->tx->res;

}
}
Expand Down

0 comments on commit ab53ac5

Please sign in to comment.