diff --git a/htdocs/categories/viewcat.php b/htdocs/categories/viewcat.php index ad82b7c4438..513d411d188 100644 --- a/htdocs/categories/viewcat.php +++ b/htdocs/categories/viewcat.php @@ -335,7 +335,7 @@ if ($cats < 0) { dol_print_error($db, $cats->error, $cats->errors); } -else if(count($cats) < 1) +elseif(count($cats) < 1) { print ''; print ''.$langs->trans("NoSubCat").'';