summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswiergot <swiergot>2005-08-29 22:52:55 +0200
committerswiergot <swiergot>2005-08-29 22:52:55 +0200
commit9800ebafdaa30c2946005767c9816fcab9513c31 (patch)
tree61fc3324f443eaacaae7d9ffdb8967e988d4c1dc
parent549bae520ab634ee0f675199602d7572bd631b4b (diff)
downloadaur-9800ebafdaa30c2946005767c9816fcab9513c31.tar.gz
aur-9800ebafdaa30c2946005767c9816fcab9513c31.tar.xz
Fixed a bug introduced in r228 (closes #3126)
-rw-r--r--web/html/pkgsubmit.php2
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://)");