From 9bbfd351cd106a108eac4195eeb582278d884582 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan=20B=C3=BCren?= Date: Fri, 21 Oct 2011 12:53:33 +0200 Subject: [PATCH] =?utf8?q?Stammdaten=20->=20Kunden=20->=20Homepage.=20Fall?= =?utf8?q?s=20die=20URL=20ohne=20Protokoll=20(http://)=20eingegeben=20wurd?= =?utf8?q?e,=20entsprechend=20automagisch=20erg=C3=A4nzen?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- bin/mozilla/ct.pl | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/mozilla/ct.pl b/bin/mozilla/ct.pl index 284f06175..a7d4eccd3 100644 --- a/bin/mozilla/ct.pl +++ b/bin/mozilla/ct.pl @@ -286,6 +286,8 @@ sub edit { # format discount $form->{discount} *= 100; + # format uri + $form->{homepage} = 'http://' . $form->{homepage} unless $form->{homepage} =~ m|^https?://|; &form_header; &form_footer; -- 2.20.1