Fix: wrong var name

This commit is contained in:
Regis Houssin 2018-03-23 11:11:14 +01:00
parent 2fb0fc39a5
commit 47ea5a84fe

View File

@ -1078,7 +1078,7 @@ class Ticketsup extends CommonObject
{
global $langs;
if (! empty($this->cache_types_tickets) && count($this->cache_category_tickets)) {
if (! empty($this->cache_category_ticket) && count($this->cache_category_tickets)) {
return 0;
}
// Cache deja charge
@ -1118,7 +1118,7 @@ class Ticketsup extends CommonObject
{
global $langs;
if (! empty($this->cache_types_tickets) && count($this->cache_severity_tickets)) {
if (! empty($this->cache_severity_tickets) && count($this->cache_severity_tickets)) {
return 0;
}
// Cache deja charge