Index: trunk/extensions/Drafts/Drafts.hooks.php |
— | — | @@ -84,7 +84,8 @@ |
85 | 85 | |
86 | 86 | // Save draft on non-save submission |
87 | 87 | if ( $wgRequest->getVal( 'action' ) == 'submit' && |
88 | | - $wgUser->editToken() == $wgRequest->getText( 'wpEditToken' ) ) |
| 88 | + $wgUser->editToken() == $wgRequest->getText( 'wpEditToken' ) && |
| 89 | + is_null( $wgRequest->getText( 'wpDraftTitle' ) ) ) |
89 | 90 | { |
90 | 91 | // If the draft wasn't specified in the url, try using a |
91 | 92 | // form-submitted one |