Add a bit of comments regarding additional.
authorBrandon Bergren
Tue, 16 Sep 2008 17:29:28 +0000 (17:29 +0000)
committerBrandon Bergren
Tue, 16 Sep 2008 17:29:28 +0000 (17:29 +0000)
location.module

index 9f88fc4..a337880 100644 (file)
@@ -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':