Fix #679864 reported by ycwjjjj.
authorBrandon Bergren
Tue, 19 Jan 2010 02:17:29 +0000 (02:17 +0000)
committerBrandon Bergren
Tue, 19 Jan 2010 02:17:29 +0000 (02:17 +0000)
contrib/location_addanother/location_addanother.module

index c383695..ba4f3d4 100644 (file)
@@ -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']);