diff --git a/functions/login.cpp b/functions/login.cpp
index b56fd42..695dc55 100755
--- a/functions/login.cpp
+++ b/functions/login.cpp
@@ -22,6 +22,12 @@ Login::Login()
void Login::MakePost()
{
+ if( request->session->id == 0 )
+ {
+ log << log1 << "Login: can't login in a temporary session (skipped)" << logend;
+ return;
+ }
+
const std::wstring & login = request->PostVar(L"login");
const std::wstring & pass = request->PostVar(L"password");
const std::wstring & remem = request->PostVar(L"rememberme");
diff --git a/html/fun_createticket.html b/html/fun_createticket.html
index b783b16..503b6ce 100755
--- a/html/fun_createticket.html
+++ b/html/fun_createticket.html
@@ -26,26 +26,26 @@
[for ticket_tab]
- [ticket_tab_param]: |
+ [ticket_tab_param_name]: |
[if ticket_tab_is_select]
- |