summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorswiergot <swiergot>2005-08-29 20:52:55 +0000
committerswiergot <swiergot>2005-08-29 20:52:55 +0000
commit9800ebafdaa30c2946005767c9816fcab9513c31 (patch)
tree61fc3324f443eaacaae7d9ffdb8967e988d4c1dc /web
parent549bae520ab634ee0f675199602d7572bd631b4b (diff)
downloadaurweb-9800ebafdaa30c2946005767c9816fcab9513c31.tar.xz
Fixed a bug introduced in r228 (closes #3126)
Diffstat (limited to 'web')
-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 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://)");