mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-10 05:02:36 +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;
|
||||
|
||||
$str = str_replace(array_keys($variables), array_values($variables), $template);
|
||||
$str = autolink($str, 100);
|
||||
|
||||
if(!$includesPasswordPlaceholder && $passwordHTML){
|
||||
$pos = strrpos($str, '$password');
|
||||
@ -308,7 +307,7 @@ class ContactMailer extends Mailer
|
||||
}
|
||||
}
|
||||
$str = str_replace('$password', '', $str);
|
||||
|
||||
$str = autolink($str, 100);
|
||||
|
||||
return $str;
|
||||
}
|
||||
|
@ -169,6 +169,7 @@
|
||||
self.last_name = ko.observable('');
|
||||
self.email = ko.observable('');
|
||||
self.phone = ko.observable('');
|
||||
self.password = ko.observable('');
|
||||
|
||||
if (data) {
|
||||
ko.mapping.fromJS(data, {}, this);
|
||||
|
Loading…
Reference in New Issue
Block a user