Closed (fixed)
Project:
Save Draft
Version:
6.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Nov 2010 at 22:41 UTC
Updated:
1 Dec 2010 at 11:30 UTC
Jump to comment: Most recent
When you set your submit handler you do:
$form['buttons']['submit']['#submit'] = array('publish_submit');
And then call the regular node submission in your submit.
This means that any other modules that have added their own custom submit handler have it overwritten and it never runs, which is obviously not good.
This module should add its submit to the others instead of replacing. Like:
$form['buttons']['submit']['#submit'][] = 'publish_submit';
or
array_unshift($form['buttons']['submit']['#submit'], 'publish_submit');
or something.
Comments
Comment #1
Anonymous (not verified) commentedThis has now been added to latest release