- Changing -3 to PHP constant

This commit is contained in:
James 2011-09-29 14:47:07 -04:00
parent 1593313805
commit 89a4c2e1e3
1 changed files with 1 additions and 1 deletions

View File

@ -958,7 +958,7 @@ class Application_Model_StoredFile {
$this->setSoundCloudErrorCode($code);
$this->setSoundCloudErrorMsg($msg);
// setting sc id to -3 which indicates error
$this->setSoundCloudFileId(-3);
$this->setSoundCloudFileId(SOUNDCLOUD_ERROR);
if(!in_array($code, array(0, 100))) {
break;
}