summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--location.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/location.module b/location.module
index 9f88fc4..a337880 100644
--- a/location.module
+++ b/location.module
@@ -566,6 +566,7 @@ function location_locationapi(&$obj, $op, $a3 = NULL, $a4 = NULL, $a5 = NULL) {
'#required' => ($a4 == 2),
);
+ // Additional is linked to street.
case 'additional':
return array(
'#type' => 'textfield',
@@ -573,7 +574,7 @@ function location_locationapi(&$obj, $op, $a3 = NULL, $a4 = NULL, $a5 = NULL) {
'#default_value' => $obj,
'#size' => 64,
'#maxlength' => 64,
- // @@@ Err, #required?
+ // Required is forced OFF because this is technically part of street.
);
case 'city':