Code Duplication    Length = 3-3 lines in 2 locations

catalog/admin/includes/functions/general.php 1 location

@@ 398-400 (lines=3) @@
395
396
    $address = strtr($Qaddress->value('address_format'), $replace);
397
398
    if ( (ACCOUNT_COMPANY == 'true') && tep_not_null($replace['$company']) ) {
399
      $address = $replace['$company'] . $replace['$cr'] . $address;
400
    }
401
402
    return $address;
403
  }

catalog/includes/functions/general.php 1 location

@@ 494-496 (lines=3) @@
491
492
    $address = strtr($Qformat->value('address_format'), $replace);
493
494
    if ( (ACCOUNT_COMPANY == 'true') && tep_not_null($replace['$company']) ) {
495
      $address = $replace['$company'] . $replace['$cr'] . $address;
496
    }
497
498
    return $address;
499
  }