Permalink
Browse files

Merge pull request #284 from tarasfrompir/master

Убраны ворнинги при скаировании
  • Loading branch information...
T-REX-XP committed Sep 14, 2018
2 parents 8b71a18 + 766663f commit 1b5df250272d3d88879988acb8354e4d6e235da4
Showing with 2 additions and 2 deletions.
  1. +2 −2 modules/ssdp_finder/ssdp_devices_scan.inc.php
@@ -201,7 +201,7 @@ function getServices($device){
$name = $device["deviceList"]["device"]["serviceList"]["service"]["serviceType"];
array_push($result,$name);
}
else{
else if(isset($device["deviceList"]["device"]["serviceList"]["service"])) {
foreach($device["deviceList"]["device"]["serviceList"]["service"] as $type)
{
$name = $type["serviceType"];
@@ -213,7 +213,7 @@ function getServices($device){
$name = $device["deviceList"]["device"]["deviceList"]["device"]["serviceList"]["service"]["serviceType"];
array_push($result,$name);
}
else{
else if(isset($device["deviceList"]["device"]["deviceList"]["device"]["serviceList"]["service"])){
foreach($device["deviceList"]["device"]["deviceList"]["device"]["serviceList"]["service"] as $type)
{
$name = $type["serviceType"];

0 comments on commit 1b5df25

Please sign in to comment.