Skip to content

Commit

Permalink
Fix: [ bug Dolibarr#1822 ] SQL error in clientfourn.php report with P…
Browse files Browse the repository at this point in the history
…ostgreSQL
  • Loading branch information
marcosgdf committed Feb 8, 2015
1 parent 07877bc commit d9ac21a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ English Dolibarr ChangeLog
- Fix: [ bug #1812 ] SQL Error message while sending emailing with PostgreSQL datatabase
- Fix: [ bug #1819 ] SQL error when searching for an invoice payment
- Fix: [ bug #1827 ] Tax reports gives incorrect amounts when using external modules that create lines with special codes
- Fix: [ bug #1822 ] SQL error in clientfourn.php report with PostgreSQL

***** ChangeLog for 3.6.2 compared to 3.6.1 *****
- Fix: fix ErrorBadValueForParamNotAString error message in price customer multiprice.
Expand Down
2 changes: 1 addition & 1 deletion htdocs/compta/resultat/clientfourn.php
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@
if (! empty($date_start) && ! empty($date_end))
$sql.= " AND p.datep >= '".$db->idate($date_start)."' AND p.datep <= '".$db->idate($date_end)."'";

$sql.= " GROUP BY u.rowid";
$sql.= " GROUP BY u.rowid, p.label, p.datep, p.fk_user";
$sql.= " ORDER BY u.firstname";

dol_syslog("get payment salaries sql=".$sql);
Expand Down

0 comments on commit d9ac21a

Please sign in to comment.