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:
parent
71763d340e
commit
848ddcebd7
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue