2
0
forked from Wavyzz/dolibarr

FIX: Error retrieving customer prices

This commit is contained in:
fmarcet
2015-09-23 10:23:29 +02:00
parent 8309ed5c12
commit 3ff8b3e437

View File

@@ -307,8 +307,8 @@ class Productcustomerprice extends CommonObject
{
global $langs;
if (! empty($sortfield)) $sortfield = "t.rowid";
if (! empty($sortorder)) $sortorder = "DESC";
if ( empty($sortfield)) $sortfield = "t.rowid";
if ( empty($sortorder)) $sortorder = "DESC";
$sql = "SELECT";
$sql .= " t.rowid,";