Code Duplication    Length = 1-1 lines in 2 locations

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

@@ 393-393 (lines=1) @@
390
391
    $replace['$statecomma'] = '';
392
    $replace['$streets'] = $replace['$street'];
393
    if ($replace['$suburb'] != '') $replace['$streets'] = $replace['$street'] . $replace['$cr'] . $replace['$suburb'];
394
    if ($replace['$state'] != '') $replace['$statecomma'] = $replace['$state'] . ', ';
395
396
    $address = strtr($Qaddress->value('address_format'), $replace);

catalog/includes/functions/general.php 1 location

@@ 489-489 (lines=1) @@
486
487
    $replace['$statecomma'] = '';
488
    $replace['$streets'] = $replace['$street'];
489
    if ($replace['$suburb'] != '') $replace['$streets'] = $replace['$street'] . $replace['$cr'] . $replace['$suburb'];
490
    if ($replace['$state'] != '') $replace['$statecomma'] = $replace['$state'] . ', ';
491
492
    $address = strtr($Qformat->value('address_format'), $replace);