Merge "Create $returntoquery variable properly"

This commit is contained in:
jenkins-bot 2018-09-26 14:44:13 +00:00 committed by Gerrit Code Review
commit 582a68570d
1 changed files with 2 additions and 0 deletions

View File

@ -661,6 +661,8 @@ class SkinMinerva extends SkinTemplate {
*/
protected function insertLogInOutMenuItem( MenuBuilder $menu ) {
$query = [];
$returntoquery = [];
if ( !$this->getRequest()->wasPosted() ) {
$returntoquery = $this->getRequest()->getValues();
unset( $returntoquery['title'] );