We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8a7c11 commit 143e2f4Copy full SHA for 143e2f4
src/Util.php
@@ -807,8 +807,8 @@ public static function redirect($location = null) {
807
}
808
809
public static function format_address($data) {
810
- $addr = trim(br2nl(get('addr', $data)));
811
- $addr1 = trim(br2nl(get('addr1', $data)));
+ $addr = trim(br2nl(get('street_1', $data)));
+ $addr1 = trim(br2nl(get('street_2', $data)));
812
$city = trim(get('city', $data));
813
$state = trim(get('state', $data));
814
$zip = trim(get('zip', $data));
@@ -965,4 +965,4 @@ public static function array_to_object($array, $recursive = false) {
965
966
967
968
-?>
+?>
0 commit comments