mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Fixed a bug introduced in r228 (closes #3126)
This commit is contained in:
parent
549bae520a
commit
9800ebafda
1 changed files with 1 additions and 1 deletions
|
@ -295,7 +295,7 @@ if ($_COOKIE["AURSID"]) {
|
||||||
|
|
||||||
# Check for http:// or other protocol in url
|
# Check for http:// or other protocol in url
|
||||||
#
|
#
|
||||||
if (!error) {
|
if (!$error) {
|
||||||
$parsed_url = parse_url($pkgbuild['url']);
|
$parsed_url = parse_url($pkgbuild['url']);
|
||||||
if (!$parsed_url['scheme']) {
|
if (!$parsed_url['scheme']) {
|
||||||
$error = __("Package URL is missing a protocol (ie. http:// ,ftp://)");
|
$error = __("Package URL is missing a protocol (ie. http:// ,ftp://)");
|
||||||
|
|
Loading…
Add table
Reference in a new issue