projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f110df0
)
Stammdaten -> Kunden -> Homepage. Falls die URL ohne Protokoll (http://) eingegeben...
author
Jan Büren
<jan@lx-office-hosting.de>
Fri, 21 Oct 2011 10:53:33 +0000
(12:53 +0200)
committer
Jan Büren
<jan@lx-office-hosting.de>
Fri, 21 Oct 2011 10:53:33 +0000
(12:53 +0200)
bin/mozilla/ct.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/ct.pl
b/bin/mozilla/ct.pl
index
284f061
..
a7d4ecc
100644
(file)
--- 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;