Advertisement
Guest User

Untitled

a guest
Feb 20th, 2020
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.48 KB | None | 0 0
  1. if( $crawler && $scrape_error === false && $d[ 'Claimed' ] == 0 ) {
  2.             $temp['practice_areas'] = $crawler->get_practice_areas_array();
  3.             foreach ( $temp['practice_areas'] as $area ) {
  4.                 $temp['parent_id'] = text_to_practice_area($area);
  5.                 audit_note( $d[ 'RefID' ], 'Updated practice areas' );
  6.                 if($temp['parent_id'] !== null) {
  7.                     fix_pa_math($d[ 'RefID' ]);
  8.                 }
  9.             }
  10.         }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement