CC-2129 : Retry automatic upload to Soundcloud if Internet connection problem
fixing http code check
This commit is contained in:
parent
bc33154f4b
commit
7cedbabb39
|
@ -296,7 +296,7 @@ class ApiController extends Zend_Controller_Action
|
|||
}
|
||||
catch (Services_Soundcloud_Invalid_Http_Response_Code_Exception $e) {
|
||||
$code = $e->getHttpCode();
|
||||
if($code != 0 || $code != 100) {
|
||||
if(!in_array($code, array(0, 100))) {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue