Update mod_ticket_universal.php

This commit is contained in:
Frédéric FRANCE 2019-02-13 23:44:06 +01:00 committed by GitHub
parent 749c7d9b0d
commit 423a69ffad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -17,7 +17,7 @@
*/ */
/** /**
* \file ticket/core/modules/ticket/mod_ticket_universal.php * \file htdocs/core/modules/ticket/mod_ticket_universal.php
* \ingroup ticket * \ingroup ticket
* \brief Fichier contenant la classe du modele de numerotation de reference de projet Universal * \brief Fichier contenant la classe du modele de numerotation de reference de projet Universal
*/ */
@ -59,12 +59,12 @@ class mod_ticket_universal extends ModeleNumRefTicket
*/ */
public function info() public function info()
{ {
global $conf, $langs; global $db, $conf, $langs;
// Load translation files required by the page // Load translation files required by the page
$langs->loadLangs(array("ticket","admin")); $langs->loadLangs(array("ticket","admin"));
$form = new Form($this->db); $form = new Form($db);
$texte = $langs->trans('GenericNumRefModelDesc') . "<br>\n"; $texte = $langs->trans('GenericNumRefModelDesc') . "<br>\n";
$texte .= '<form action="' . $_SERVER["PHP_SELF"] . '" method="POST">'; $texte .= '<form action="' . $_SERVER["PHP_SELF"] . '" method="POST">';