fixed: not logged users cannot edit a ticket

git-svn-id: svn://ttmath.org/publicrep/cmslu/trunk@557 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
Tomasz Sowa 2010-01-25 07:27:18 +00:00
parent 71763d340e
commit 848ddcebd7
1 changed files with 4 additions and 0 deletions

View File

@ -741,6 +741,10 @@ return false;
bool Request::CanEditTicket()
{
// not logged users cannot edit tickets
if( !request.session->puser )
return false;
if( request.dir_table.empty() )
return false;