mirror of
https://github.com/unraid/webgui.git
synced 2026-01-13 21:20:01 -06:00
Don't overwrite the error from the first try.
This commit is contained in:
@@ -262,7 +262,6 @@ function download($url, $name, &$error, $write=true) {
|
||||
return false;
|
||||
}
|
||||
} else {
|
||||
$error = "empty URL";
|
||||
// The url is empty
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user