added: Rebus
(when no logged user wants to send a message then he is asked a question) git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@521 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -86,6 +86,10 @@ void Request::Clear()
|
||||
|
||||
browser_msie = false;
|
||||
|
||||
// should be always empty
|
||||
// this is only for safety
|
||||
//string_empty.clear();
|
||||
|
||||
plugin.Call(CMSLU_REQUEST_CLEAR);
|
||||
}
|
||||
|
||||
@@ -167,7 +171,10 @@ bool Request::PostVar(const char * var, std::string & result)
|
||||
p = post_table.find(var);
|
||||
|
||||
if( p == post_table.end() )
|
||||
{
|
||||
result.clear();
|
||||
return false;
|
||||
}
|
||||
|
||||
result = p->second;
|
||||
|
||||
|
Reference in New Issue
Block a user