From 9800ebafdaa30c2946005767c9816fcab9513c31 Mon Sep 17 00:00:00 2001 From: swiergot Date: Mon, 29 Aug 2005 20:52:55 +0000 Subject: Fixed a bug introduced in r228 (closes #3126) --- web/html/pkgsubmit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web') 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://)"); -- cgit v1.2.3-54-g00ecf