mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-12 22:22:32 +01:00
Minor fixes
This commit is contained in:
parent
a2cbc1b225
commit
3c1084ffe0
@ -298,7 +298,6 @@ class ContactMailer extends Mailer
|
|||||||
$includesPasswordPlaceholder = strpos($template, '$password') !== false;
|
$includesPasswordPlaceholder = strpos($template, '$password') !== false;
|
||||||
|
|
||||||
$str = str_replace(array_keys($variables), array_values($variables), $template);
|
$str = str_replace(array_keys($variables), array_values($variables), $template);
|
||||||
$str = autolink($str, 100);
|
|
||||||
|
|
||||||
if(!$includesPasswordPlaceholder && $passwordHTML){
|
if(!$includesPasswordPlaceholder && $passwordHTML){
|
||||||
$pos = strrpos($str, '$password');
|
$pos = strrpos($str, '$password');
|
||||||
@ -308,7 +307,7 @@ class ContactMailer extends Mailer
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
$str = str_replace('$password', '', $str);
|
$str = str_replace('$password', '', $str);
|
||||||
|
$str = autolink($str, 100);
|
||||||
|
|
||||||
return $str;
|
return $str;
|
||||||
}
|
}
|
||||||
|
@ -169,6 +169,7 @@
|
|||||||
self.last_name = ko.observable('');
|
self.last_name = ko.observable('');
|
||||||
self.email = ko.observable('');
|
self.email = ko.observable('');
|
||||||
self.phone = ko.observable('');
|
self.phone = ko.observable('');
|
||||||
|
self.password = ko.observable('');
|
||||||
|
|
||||||
if (data) {
|
if (data) {
|
||||||
ko.mapping.fromJS(data, {}, this);
|
ko.mapping.fromJS(data, {}, this);
|
||||||
|
Loading…
Reference in New Issue
Block a user