diff options
author | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-22 14:38:58 +0000 |
---|---|---|
committer | Karl 'vollmerk' Vollmer <vollmer@ampache.org> | 2005-08-22 14:38:58 +0000 |
commit | e059eb2c25b6a335a777707c227588c54d28dfb3 (patch) | |
tree | 7f58f508c01235187348b304586d959e82543f82 | |
parent | 82f7f9ec4a055d7928e55fcf48fc87b16ea42048 (diff) | |
download | ampache-e059eb2c25b6a335a777707c227588c54d28dfb3.tar.gz ampache-e059eb2c25b6a335a777707c227588c54d28dfb3.tar.bz2 ampache-e059eb2c25b6a335a777707c227588c54d28dfb3.zip |
wow Im an idiot
-rw-r--r-- | upload.php | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -69,15 +69,13 @@ switch( $action ) { $catalog_id = find_upload_catalog(conf('quarantine_dir')); /* Make sure that it's not in a catalog dir */ - if (!$catalog_id) { + if ($catalog_id) { $GLOBALS['error']->add_error('general',"Error: Quarantine Directory inside a catalog"); if (conf('debug')) { log_event($user->username,' upload ',"Error: Quarantine Directory inside a catalog"); } } // if in catalog dir - $catalog = new Catalog($catalog_id); - foreach ($_FILES as $key => $file) { if (strlen($_FILES[$key]['name'])) { |