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 36e8aa1 commit 2bc2c87Copy full SHA for 2bc2c87
src/Util.php
@@ -779,6 +779,8 @@ public static function redirect($location = null) {
779
}
780
781
public static function format_address($data) {
782
+ if (is_string($data)) return $data;
783
+
784
$components = [];
785
$components[] = self::get('street_1', $data) ? : self::get('street', $data);
786
$components[] = self::get('street_2', $data);
0 commit comments