projects
/
project/location.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
5d9e07c
)
Add a bit of comments regarding additional.
author
Brandon Bergren
Tue, 16 Sep 2008 17:29:28 +0000 (17:29 +0000)
committer
Brandon Bergren
Tue, 16 Sep 2008 17:29:28 +0000 (17:29 +0000)
location.module
patch
|
blob
|
blame
|
history
diff --git
a/location.module
b/location.module
index
9f88fc4
..
a337880
100644
(file)
--- 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':