diff --git a/htdocs/ticket/index.php b/htdocs/ticket/index.php index 14e0ab382d8..76d3b9e9dce 100644 --- a/htdocs/ticket/index.php +++ b/htdocs/ticket/index.php @@ -2,6 +2,7 @@ /* Copyright (C) 2013-2016 Jean-François FERRY * Copyright (C) 2019 Nicolas ZABOURI * Copyright (C) 2021-2024 Frédéric France + * Copyright (C) 2024 MDW * * 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 @@ -405,7 +406,7 @@ if ($user->hasRight('ticket', 'read')) { // Category print ''; - if (!empty($obp->category_code)) { + if (!empty($objp->category_code)) { $s = $langs->getLabelFromKey($db, 'TicketCategoryShort'.$objp->category_code, 'c_ticket_category', 'code', 'label', $objp->category_code); print ''.$s.''; }