diff options
-rw-r--r-- | web/html/pkgsubmit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/html/pkgsubmit.php b/web/html/pkgsubmit.php index 250a15f..99c0179 100644 --- a/web/html/pkgsubmit.php +++ b/web/html/pkgsubmit.php @@ -295,7 +295,7 @@ if ($_COOKIE["AURSID"]) { # Check for http:// or other protocol in url # - if (!error) { + if (!$error) { $parsed_url = parse_url($pkgbuild['url']); if (!$parsed_url['scheme']) { $error = __("Package URL is missing a protocol (ie. http:// ,ftp://)"); |