This commit is contained in:
Frédéric FRANCE 2023-02-06 23:24:06 +01:00 committed by GitHub
parent 2f6a68481f
commit fe38c5817d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,7 @@
<?php
/* Copyright (C) 2013-2018 Jean-François Ferry <hello@librethic.io>
* Copyright (C) 2016 Christophe Battarel <christophe@altairis.fr>
* Copyright (C) 2019-2022 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2019-2023 Frédéric France <frederic.france@netlogic.fr>
* Copyright (C) 2020 Laurent Destailleur <eldy@users.sourceforge.net>
*
* This program is free software; you can redistribute it and/or modify
@ -198,6 +198,26 @@ class Ticket extends CommonObject
*/
public $cache_category_tickets;
/**
* @var array tickets severity
*/
public $cache_severity_tickets;
/**
* @var array cache msgs ticket
*/
public $cache_msgs_ticket;
/**
* @var array statuts labels
*/
public $statuts;
/**
* @var array statuts short labels
*/
public $statuts_short;
/**
* @var int Notify thirdparty at create
*/
@ -1251,7 +1271,7 @@ class Ticket extends CommonObject
{
global $conf, $langs;
if (!empty($this->cache_category_ticket) && count($this->cache_category_tickets)) {
if (!empty($this->cache_category_tickets) && count($this->cache_category_tickets)) {
// Cache already loaded
return 0;
}