Created
May 6, 2016 12:05
-
-
Save vsguts/bcc3a8ffd6725d89e87fdd82cf539c07 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/app/functions/fn.companies.php b/app/functions/fn.companies.php | |
index 91c5225..8e9d18f 100644 | |
--- a/app/functions/fn.companies.php | |
+++ b/app/functions/fn.companies.php | |
@@ -1318,6 +1318,9 @@ function fn_create_company_admin($company_data, $fields = '', $notify = false) | |
$user['b_firstname'] = $user['s_firstname'] = $user['firstname']; | |
$user['lastname'] = (!empty($company_data['admin_lastname'])) ? $company_data['admin_lastname'] : ''; | |
$user['b_lastname'] = $user['s_lastname'] = $user['lastname']; | |
+ $user['b_phone'] = $user['s_phone'] = $user['phone'] = $company_data['phone']; | |
+ $user['fax'] = $company_data['fax']; | |
+ $user['url'] = $company_data['url']; | |
$user['b_address'] = $user['s_address'] = $company_data['address']; | |
$user['b_city'] = $user['s_city'] = $company_data['city']; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment