summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRandy Fay2011-06-01 15:01:59 (GMT)
committer Randy Fay2011-06-01 15:01:59 (GMT)
commit506b9b8aea108d3bde95df44cfb4b7689ecfd71b (patch)
tree6873b94839fb9ec06664c3e2d8e482971615cb66
parent62bf19de515b9b0ff417612e5f2a23d5e0537340 (diff)
Issue #1170234 by drew reece: Fix submit handler signature
-rw-r--r--dbtng_example/dbtng_example.module4
1 files changed, 2 insertions, 2 deletions
diff --git a/dbtng_example/dbtng_example.module b/dbtng_example/dbtng_example.module
index 352d2d6..459c17d 100644
--- a/dbtng_example/dbtng_example.module
+++ b/dbtng_example/dbtng_example.module
@@ -454,7 +454,7 @@ function dbtng_example_form_add($form, &$form_state) {
/**
* Submit handler for 'add entry' form.
*/
-function dbtng_example_form_add_submit($form, $form_state) {
+function dbtng_example_form_add_submit($form, &$form_state) {
global $user;
// Save the submitted entry.
@@ -554,7 +554,7 @@ function dbtng_example_form_update_callback($form, $form_state) {
/**
* Submit handler for 'update entry' form.
*/
-function dbtng_example_form_update_submit($form, $form_state) {
+function dbtng_example_form_update_submit($form, &$form_state) {
global $user;
// Save the submitted entry.