Skip to content

Commit

Permalink
Fix regenerate bug
Browse files Browse the repository at this point in the history
  • Loading branch information
wilsonge committed Mar 27, 2016
1 parent 8dac1f2 commit 40bf964
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/joomla/session/session.php
Expand Up @@ -732,8 +732,8 @@ public function restart()
$this->_state = 'restart';

// Regenerate session id
$this->_handler->regenerate(true, null);
$this->_start();
$this->_handler->regenerate(true, null);
$this->_state = 'active';

if (!$this->_validate())
Expand Down

0 comments on commit 40bf964

Please sign in to comment.