@ -6,7 +6,6 @@
*/
require_once __DIR__.'/../inc/global.inc.php';
$plugin = TicketPlugin::create();
api_block_anonymous_users();
$user_id = api_get_user_id();
@ -4,14 +4,11 @@
/**
* @package chamilo.plugin.ticket
exit;
require_once __DIR__.'/tutor_report.lib.php';
$htmlHeadXtra[] = '
<script type="text/javascript">
$htmlHeadXtra[] = '<script>
$(document).ready(function (){
$(".ajax").click(function() {
var url = this.href;
@ -4,9 +4,8 @@
$work_id = intval($_POST['work_id']);
$forum_id = intval($_POST['forum_id']);