diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-07-17 16:08:28 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-07-17 16:08:28 +0200 |
commit | 4262dfeaef46fe40db4f7d830c9b3d0853ee1778 (patch) | |
tree | 449d75c2664f2a85d3c984de8599a438bb721933 /phpBB/posting.php | |
parent | 100fd39c5eb8dd0ad1c1218c423b13ef6a519857 (diff) | |
parent | 6f189636363d7ab2e373932d392ec4818b10c84a (diff) | |
download | forums-4262dfeaef46fe40db4f7d830c9b3d0853ee1778.tar forums-4262dfeaef46fe40db4f7d830c9b3d0853ee1778.tar.gz forums-4262dfeaef46fe40db4f7d830c9b3d0853ee1778.tar.bz2 forums-4262dfeaef46fe40db4f7d830c9b3d0853ee1778.tar.xz forums-4262dfeaef46fe40db4f7d830c9b3d0853ee1778.zip |
Merge pull request #3731 from marcovo/ticket/13971
[ticket/13971] Add draft_id var to core.posting_modify_template_vars
Diffstat (limited to 'phpBB/posting.php')
-rw-r--r-- | phpBB/posting.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/phpBB/posting.php b/phpBB/posting.php index 4f901c1d94..bd36dc5db7 100644 --- a/phpBB/posting.php +++ b/phpBB/posting.php @@ -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', |