From f54efca075ae31201fb9fde826b92497d9705ffe Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 19 Jan 2021 12:25:05 +0100 Subject: [PATCH] Clean code --- htdocs/core/class/html.form.class.php | 3 +- .../mysql/migration/12.0.0-13.0.0.sql.orig | 568 ------------------ htdocs/install/mysql/tables/llx_societe.sql | 2 +- 3 files changed, 2 insertions(+), 571 deletions(-) delete mode 100644 htdocs/install/mysql/migration/12.0.0-13.0.0.sql.orig diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index 6987bc3e27a..3bb3afae852 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -4052,8 +4052,7 @@ class Form while ($i < $num) { $obj = $this->db->fetch_object($result); - if ($selected == $obj->rowid || ($useempty == 2 && $num == 1 && empty($selected))) - { + if ($selected == $obj->rowid || ($useempty == 2 && $num == 1 && empty($selected))) { $out .= '