diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php
index 12263d8df2c..fb7e34fb9a0 100644
--- a/htdocs/categories/viewcat.php
+++ b/htdocs/categories/viewcat.php
@@ -1034,19 +1034,16 @@ if ($type == Categorie::TYPE_WAREHOUSE) {
}
}
-if ($type == Categorie::TYPE_TICKET)
-{
+if ($type == Categorie::TYPE_TICKET) {
$permission = ($user->rights->categorie->creer || $user->rights->categorie->creer);
$tickets = $object->getObjectsInCateg($type, 0, $limit, $offset);
- if ($tickets < 0)
- {
+ if ($tickets < 0) {
dol_print_error($db, $object->error, $object->errors);
} else {
// Form to add record into a category
$showclassifyform = 1;
- if ($showclassifyform)
- {
+ if ($showclassifyform) {
print '
';
print '