Hi,I found some solution.In a file scp/tickets.php at the end of the if($_POST && !$errors):I added:
if($msg) $_SESSION = $msg; if($ticket) header('Location: tickets.php?id='.$ticket->getId());
So there was
if(!$errors)
$thisstaff ->resetStats(); //We'll need to reflect any changes just made!
endif;
And now there is
if(!$errors)
$thisstaff ->resetStats(); //We'll need to reflect any changes just made!
if($msg)
$_SESSION = $msg;
if($ticket)
header('Location: tickets.php?id='.$ticket->getId());
endif;
I also have changed file include\staff\header.inc.php:
if ($msg == null)
{
$msg = $_SESSION;
unset($_SESSION);
}
before if($ost->getError())I hope it will be usefull.