From 41bd852e2487946293102f074150841d7a885fa7 Mon Sep 17 00:00:00 2001 From: Matthew Wilson Date: Tue, 13 Dec 2005 03:22:55 +0000 Subject: [PATCH] - fix [ 1378871 ] become this user doesn't work - fix [ 1378909 ] (SVN 300) Unable to add user - fix [ 1323184 ] CS Submissions Not Sorting on multiple sites - fix [ 1378787 ] Unable to add new group to user --- docs/changelog/6.x.x.txt | 3 +++ lib/WebGUI/Operation/User.pm | 3 +-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/changelog/6.x.x.txt b/docs/changelog/6.x.x.txt index f92d959f7..88c1ad71b 100644 --- a/docs/changelog/6.x.x.txt +++ b/docs/changelog/6.x.x.txt @@ -2,7 +2,10 @@ - Converted all the max((assetData.)revisionDate) calls to use mysql5/(4.1) nested queries. - Added some more skeletons (newWobject, newAsset, changelog(!)) + - fix [ 1378871 ] become this user doesn't work + - fix [ 1378909 ] (SVN 300) Unable to add user - fix [ 1323184 ] CS Submissions Not Sorting on multiple sites + - fix [ 1378787 ] Unable to add new group to user - fixed some major oversights in the new profile system. - Added macro to return the MIME type to a file, FetchMimeType. - fix [ 1378493 ] 6.7.8 collab post edits (images) diff --git a/lib/WebGUI/Operation/User.pm b/lib/WebGUI/Operation/User.pm index 59b534ed4..5b07b4cf3 100644 --- a/lib/WebGUI/Operation/User.pm +++ b/lib/WebGUI/Operation/User.pm @@ -159,8 +159,7 @@ sub getUserSearchForm { #------------------------------------------------------------------- sub www_becomeUser { return WebGUI::Privilege::adminOnly() unless (WebGUI::Grouping::isInGroup(3)); - WebGUI::Session::end($session{var}{sessionId}); - WebGUI::Session::start($session{form}{uid}); + WebGUI::Session::convertVisitorToUser($session{var}{sessionId},$session{form}{uid}); return ""; }