@@ -178,13 +178,13 @@ discard block |
||
178 | 178 | $user = $this->getUser($store_props[PR_USER_ENTRYID]); |
179 | 179 | |
180 | 180 | // receive userdata |
181 | - $user_props = [ PR_ASSISTANT, PR_ASSISTANT_TELEPHONE_NUMBER, PR_BUSINESS2_TELEPHONE_NUMBER, PR_BUSINESS_TELEPHONE_NUMBER, |
|
181 | + $user_props = [PR_ASSISTANT, PR_ASSISTANT_TELEPHONE_NUMBER, PR_BUSINESS2_TELEPHONE_NUMBER, PR_BUSINESS_TELEPHONE_NUMBER, |
|
182 | 182 | PR_COMPANY_NAME, PR_COUNTRY, PR_DEPARTMENT_NAME, PR_DISPLAY_NAME, |
183 | 183 | PR_EMAIL_ADDRESS, PR_EMS_AB_THUMBNAIL_PHOTO, PR_GIVEN_NAME, PR_HOME2_TELEPHONE_NUMBER, |
184 | 184 | PR_STREET_ADDRESS, PR_HOME_TELEPHONE_NUMBER, PR_INITIALS, PR_LOCALITY, |
185 | 185 | PR_MOBILE_TELEPHONE_NUMBER, PR_OFFICE_LOCATION, PR_PAGER_TELEPHONE_NUMBER, PR_POSTAL_CODE, |
186 | 186 | PR_PRIMARY_FAX_NUMBER, PR_PRIMARY_TELEPHONE_NUMBER, PR_SEARCH_KEY, PR_SMTP_ADDRESS, |
187 | - PR_STATE_OR_PROVINCE, PR_SURNAME, PR_TITLE ]; |
|
187 | + PR_STATE_OR_PROVINCE, PR_SURNAME, PR_TITLE]; |
|
188 | 188 | |
189 | 189 | $user_props = mapi_getprops($user, $user_props); |
190 | 190 | |
@@ -1094,7 +1094,7 @@ discard block |
||
1094 | 1094 | // Postfix display name of every contact folder with respective owner name |
1095 | 1095 | // it is mandatory to keep display-name different |
1096 | 1096 | $userStoreProps = mapi_getprops($openedUserStore, [PR_MAILBOX_OWNER_NAME]); |
1097 | - for ($i = 0,$len = count($userContactFolders); $i < $len; ++$i) { |
|
1097 | + for ($i = 0, $len = count($userContactFolders); $i < $len; ++$i) { |
|
1098 | 1098 | $userContactFolders[$i][PR_DISPLAY_NAME] = $userContactFolders[$i][PR_DISPLAY_NAME] . " - " . $userStoreProps[PR_MAILBOX_OWNER_NAME]; |
1099 | 1099 | } |
1100 | 1100 | |
@@ -1118,7 +1118,7 @@ discard block |
||
1118 | 1118 | |
1119 | 1119 | // Create the lists of store entryids, folder entryids and folder names to be added |
1120 | 1120 | // to the profile section |
1121 | - for ($i = 0,$len = count($contactFolders); $i < $len; ++$i) { |
|
1121 | + for ($i = 0, $len = count($contactFolders); $i < $len; ++$i) { |
|
1122 | 1122 | $contact_store_entryids[] = $contactFolders[$i][PR_STORE_ENTRYID]; |
1123 | 1123 | $contact_folder_entryids[] = $contactFolders[$i][PR_ENTRYID]; |
1124 | 1124 | $contact_folder_names[] = $contactFolders[$i][PR_DISPLAY_NAME]; |