changed: added Cur structure
we have there two pointers: Request * request; Session * session; these are the current request and the current session the session GC was moved to SessionManager (was in SessionContainer) git-svn-id: svn://ttmath.org/publicrep/winix/trunk@708 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -154,14 +154,14 @@ int ParseCKeditorFun()
|
||||
{
|
||||
ckeditor_getparser.fun_num = 2; // default if there is a problem with parsing info
|
||||
|
||||
if( !request->get_tab.empty() )
|
||||
if( !cur->request->get_tab.empty() )
|
||||
{
|
||||
size_t last = request->get_tab.size()-1;
|
||||
size_t last = cur->request->get_tab.size()-1;
|
||||
|
||||
if( !request->get_tab[last].empty() )
|
||||
if( !cur->request->get_tab[last].empty() )
|
||||
{
|
||||
static std::string get;
|
||||
AssignString(request->get_tab[last], get);
|
||||
AssignString(cur->request->get_tab[last], get);
|
||||
ckeditor_getparser.Parse(get.c_str() + 1); // the first char is '?'
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user