fix php8 warning
remove variables not used
This commit is contained in:
parent
b01e795723
commit
eccfa40396
@ -2,7 +2,7 @@
|
|||||||
/* Module descriptor for ticket system
|
/* Module descriptor for ticket system
|
||||||
* Copyright (C) 2013-2016 Jean-François FERRY <hello@librethic.io>
|
* Copyright (C) 2013-2016 Jean-François FERRY <hello@librethic.io>
|
||||||
* 2016 Christophe Battarel <christophe@altairis.fr>
|
* 2016 Christophe Battarel <christophe@altairis.fr>
|
||||||
* Copyright (C) 2019 Frédéric France <frederic.france@netlogic.fr>
|
* Copyright (C) 2019-2021 Frédéric France <frederic.france@netlogic.fr>
|
||||||
*
|
*
|
||||||
* This program is free software: you can redistribute it and/or modify
|
* This program is free software: you can redistribute it and/or modify
|
||||||
* it under the terms of the GNU General Public License as published by
|
* it under the terms of the GNU General Public License as published by
|
||||||
@ -113,9 +113,6 @@ class box_last_modified_ticket extends ModeleBoxes
|
|||||||
while ($i < $num) {
|
while ($i < $num) {
|
||||||
$objp = $this->db->fetch_object($resql);
|
$objp = $this->db->fetch_object($resql);
|
||||||
$datec = $this->db->jdate($objp->datec);
|
$datec = $this->db->jdate($objp->datec);
|
||||||
$dateterm = $this->db->jdate($objp->fin_validite);
|
|
||||||
$dateclose = $this->db->jdate($objp->date_cloture);
|
|
||||||
$late = '';
|
|
||||||
|
|
||||||
$ticket = new Ticket($this->db);
|
$ticket = new Ticket($this->db);
|
||||||
$ticket->id = $objp->id;
|
$ticket->id = $objp->id;
|
||||||
@ -162,7 +159,6 @@ class box_last_modified_ticket extends ModeleBoxes
|
|||||||
);
|
);
|
||||||
$r++;
|
$r++;
|
||||||
|
|
||||||
|
|
||||||
// Date creation
|
// Date creation
|
||||||
$this->info_box_contents[$i][$r] = array(
|
$this->info_box_contents[$i][$r] = array(
|
||||||
'td' => 'class="right"',
|
'td' => 'class="right"',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user