From 47ea5a84fee484c3a6ccda0cd9a3f821f30dad3a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Fri, 23 Mar 2018 11:11:14 +0100 Subject: [PATCH] Fix: wrong var name --- htdocs/ticketsup/class/ticketsup.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/ticketsup/class/ticketsup.class.php b/htdocs/ticketsup/class/ticketsup.class.php index 60edf6471ad..76902714a9e 100644 --- a/htdocs/ticketsup/class/ticketsup.class.php +++ b/htdocs/ticketsup/class/ticketsup.class.php @@ -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