summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--contrib/location_addanother/location_addanother.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/location_addanother/location_addanother.module b/contrib/location_addanother/location_addanother.module
index c383695..ba4f3d4 100644
--- a/contrib/location_addanother/location_addanother.module
+++ b/contrib/location_addanother/location_addanother.module
@@ -68,7 +68,7 @@ function location_addanother_form(&$form_state, &$node) {
/**
* Validation function for "add another location" form.
*/
-function location_addanother_form_validate($form, &$form_state, $form_id) {
+function location_addanother_form_validate($form, &$form_state) {
$location = $form_state['values']['location'];
$node = node_load($location['nid']);
unset($location['nid']);