2
0
forked from Wavyzz/dolibarr

Clean code

This commit is contained in:
Laurent Destailleur (aka Eldy)
2025-02-06 14:12:06 +01:00
parent adb455e4a5
commit 22fa107077

View File

@@ -2120,8 +2120,6 @@ class Commande extends CommonOrder
public function fetch_lines($only_product = 0, $loadalsotranslation = 0)
{
// phpcs:enable
global $langs, $conf;
$this->lines = array();
$sql = 'SELECT l.rowid, l.fk_product, l.fk_parent_line, l.product_type, l.fk_commande, l.label as custom_label, l.description, l.price, l.qty, l.vat_src_code, l.tva_tx, l.ref_ext,';