fixed warning when upload fails

This commit is contained in:
skodak
2007-04-02 14:53:13 +00:00
parent 69beb9a8af
commit 31c6df4382
+2
View File
@@ -199,6 +199,8 @@ class upload_manager {
return true;
}
$savedsomething = false;
if ($this->status) {
if (!(strpos($destination, $CFG->dataroot) === false)) {
// take it out for giving to make_upload_directory