Skip to content

Commit 143e2f4

Browse files
authored
Update Util.php
1 parent c8a7c11 commit 143e2f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Util.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -807,8 +807,8 @@ public static function redirect($location = null) {
807807
}
808808

809809
public static function format_address($data) {
810-
$addr = trim(br2nl(get('addr', $data)));
811-
$addr1 = trim(br2nl(get('addr1', $data)));
810+
$addr = trim(br2nl(get('street_1', $data)));
811+
$addr1 = trim(br2nl(get('street_2', $data)));
812812
$city = trim(get('city', $data));
813813
$state = trim(get('state', $data));
814814
$zip = trim(get('zip', $data));
@@ -965,4 +965,4 @@ public static function array_to_object($array, $recursive = false) {
965965
}
966966
}
967967

968-
?>
968+
?>

0 commit comments

Comments
 (0)