Summary:
Logout action doesn't use post_logouttemplate
Detailed Description:
Code is missing from action_logoutform.php that results in the logout process
not using the post_logoutform template. Inserting the lines from 3.1.5 corrects
the problem.
Specifically add
$url = $this->create_url($id,'logout',$returnid);
$tpl->assign('url_logout',$url);
after line56 and
$url = $this->create_url($id,'changesettings',$returnid);
$tpl->assign('url_changesettings',$url);
after the comment at line 61