Maxi Schvindt 7 éve
szülő
commit
ba0d6e3607
1 módosított fájl, 3 hozzáadás és 5 törlés
  1. 3 5
      Services/TR069Service.php

+ 3 - 5
Services/TR069Service.php

@@ -114,12 +114,11 @@ class TR069Service
         
         if($password)
             $data['parameterValues'][] = array('InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.PreSharedKey.1.PreSharedKey',$password,'xsd:string');
-		
         
         if($ssid)
             $data['parameterValues'][] = array('InternetGatewayDevice.LANDevice.1.WLANConfiguration.1.SSID',$ssid,'xsd:string');
-        
-		$return = $this->post($url, $data);
+            
+        $return = $this->post($url, $data);
         
         return $return;
     }
@@ -133,9 +132,8 @@ class TR069Service
         $data['parameterValues'] = array();
         
         $data['parameterValues'][] = array('InternetGatewayDevice.VS_AppCfg.VsCatvCfg.CatvPower',$state,'xsd:boolean');
-		
         
-		$return = $this->post($url, $data);
+        $return = $this->post($url, $data);
         
         return $return;
 	}