Merge branch 'master' of dev.sourcefabric.org:airtime

This commit is contained in:
martin 2011-03-31 12:39:22 -04:00
commit 403b08351c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}
}