Fixed a bug introduced in r228 (closes #3126)

This commit is contained in:
swiergot 2005-08-29 20:52:55 +00:00
parent 549bae520a
commit 9800ebafda

View file

@ -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://)");