1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 12:03:21 +01:00

Merge pull request #3731 from marcovo/ticket/13971

[ticket/13971] Add draft_id var to core.posting_modify_template_vars
This commit is contained in:
Marc Alexander 2015-07-17 16:08:28 +02:00
commit 4262dfeaef

View File

@ -1850,6 +1850,7 @@ if (($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_
* @var int post_id ID of the post
* @var int topic_id ID of the topic
* @var int forum_id ID of the forum
* @var int draft_id ID of the draft
* @var bool submit Whether or not the form has been submitted
* @var bool preview Whether or not the post is being previewed
* @var bool save Whether or not a draft is being saved
@ -1872,6 +1873,7 @@ if (($mode == 'post' || ($mode == 'edit' && $post_id == $post_data['topic_first_
* delete, cancel, refresh, error, page_data, message_parser
* @change 3.1.2-RC1 Removed 'delete' var as it does not exist
* @change 3.1.5-RC1 Added poll variables to the page_data array
* @change 3.1.6-RC1 Added 'draft_id' var
*/
$vars = array(
'post_data',
@ -1885,6 +1887,7 @@ $vars = array(
'post_id',
'topic_id',
'forum_id',
'draft_id',
'submit',
'preview',
'save',