233090e3 by Jeff Balicki

update_office_email

Signed-off-by: Jeff <jeff@gotenzing.com>
1 parent b34b602e
......@@ -255,7 +255,7 @@ function wpa_34245() {
}
add_action( 'profile_update', function ( $user_id, $old_user_data ) {
//update_office_email($user_id);
update_office_email($user_id);
update_branch_fax($user_id);
}, 10, 2 );
......@@ -277,7 +277,7 @@ add_action( 'profile_update', function ( $user_id, $old_user_data ) {
function find_branch_info($department_branch, $field){
if( have_rows('departments_and_branches', 'option') ):
while ( have_rows('departments_and_branches' , 'option') ) : the_row();
if(get_sub_field('departmentbranch') == $department_branch ):
......