diff --git a/flag.module b/flag.module
index 6c20bbe..870d3ea 100644
--- a/flag.module
+++ b/flag.module
@@ -741,9 +741,7 @@ function flag_page($action = NULL, $flag_name = NULL, $content_id = NULL) {
 /**
  * Form for confirming the (un)flagging of a piece of content.
  */
-function flag_confirm(&$form_state, $action = 'flag', $flag_name, $content_id = '') {
-  $form = array();
-
+function flag_confirm($form, &$form_state, $action = 'flag', $flag_name, $content_id = '') {
   $form['action'] = array(
     '#type' => 'value',
     '#value' => $action,
