andre пре 5 година
родитељ
комит
b97710a8ce
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      api/Zm/Account.php

+ 1 - 1
api/Zm/Account.php

@@ -778,7 +778,7 @@ class Zm_Account
 
 
 		$params = array(
 		$params = array(
 			new SoapParam($accountId, "id"),
 			new SoapParam($accountId, "id"),
-			new SoapVar('<ns1:preauth timestamp="' . time() . ' expires="' . $expire . '">' . $preauthKey . '</ns1:preauth>', XSD_ANYXML),
+			new SoapParam($preauthKey, "preauth", XSD_ANYXML),
 		);
 		);
 
 
 		try
 		try