Commit 5237282c authored by Robin Monks's avatar Robin Monks

Issue #1211034 by jmwhitco: Correcting an issue causing reference warnings on some installations.

parent 56efe87f
......@@ -152,7 +152,7 @@ function addanother_nodeapi(&$node, $op, $a3 = NULL, $a4 = NULL) {
/**
* Implementation of hook_form_alter().
*/
function addanother_form_alter(&$form, &$form_state, $form_id) {
function addanother_form_alter(&$form, $form_state, $form_id) {
if (isset($form['#node']) && $form['#node']->type .'_node_form' == $form_id
&& variable_get('addanother_message', TRUE)) {
$form['buttons']['submit']['#submit'][] = '_addanother_message';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment