Index: branches/5.2.x/core/kernel/db/dblist.php =================================================================== --- branches/5.2.x/core/kernel/db/dblist.php +++ branches/5.2.x/core/kernel/db/dblist.php @@ -590,8 +590,8 @@ return ; } - $sql = $this->GetSelectSQL(true, false); $fields = str_replace('%1$s', $this->TableName, implode(', ', $fields)); + $sql = $this->GetSelectSQL(true, false, $fields); if ( preg_match("/DISTINCT(.*?\s)FROM(?!_)/is",$sql,$regs ) ) {