diff options
author | swiergot <swiergot> | 2005-08-29 22:52:55 +0200 |
---|---|---|
committer | swiergot <swiergot> | 2005-08-29 22:52:55 +0200 |
commit | 9800ebafdaa30c2946005767c9816fcab9513c31 (patch) | |
tree | 61fc3324f443eaacaae7d9ffdb8967e988d4c1dc | |
parent | 549bae520ab634ee0f675199602d7572bd631b4b (diff) | |
download | aur-9800ebafdaa30c2946005767c9816fcab9513c31.tar.gz aur-9800ebafdaa30c2946005767c9816fcab9513c31.tar.xz |
Fixed a bug introduced in r228 (closes #3126)
-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 250a15f9..99c01797 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://)"); |