Merge pull request #22564 from hregis/fix_remove_quote

FIX wrong typo, remove quote
This commit is contained in:
Laurent Destailleur 2022-10-13 10:23:05 +02:00 committed by GitHub
commit c5d710ff47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3491,7 +3491,7 @@ class Product extends CommonObject
global $db, $conf, $user, $hookmanager;
$sql = "SELECT COUNT(DISTINCT f.fk_soc) as nb_customers, COUNT(DISTINCT f.rowid) as nb,";
$sql .= " COUNT(fd.rowid) as nb_rows, SUM('fd.qty') as qty";
$sql .= " COUNT(fd.rowid) as nb_rows, SUM(fd.qty) as qty";
$sql .= " FROM ".MAIN_DB_PREFIX."facturedet_rec as fd";
$sql .= ", ".MAIN_DB_PREFIX."facture_rec as f";
$sql .= ", ".MAIN_DB_PREFIX."societe as s";