diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php
index 23a6b724d14..cbb1f09f3d8 100644
--- a/htdocs/core/class/html.form.class.php
+++ b/htdocs/core/class/html.form.class.php
@@ -6663,7 +6663,6 @@ class Form
*/
public function select_tickets_list($selected = '', $htmlname = 'ticketid', $filtertype = '', $limit = 20, $filterkey = '', $status = 1, $outputmode = 0, $showempty = '1', $forcecombo = 0, $morecss = '')
{
- // phpcs:enable
global $langs, $conf, $user, $db;
$out = '';
@@ -6738,7 +6737,6 @@ class Form
$out .= $opt;
array_push($outarray, $optJson);
-
$i++;
}