Index: dblist.php =================================================================== --- dblist.php (revision 14184) +++ dblist.php (working copy) @@ -456,7 +456,7 @@ if(!$fields) return false; $sql = $this->GetSelectSQL(true, false); - $fields = implode(', ', $fields); + $fields = str_replace('%1$s', $this->TableName, implode(', ', $fields)); if ( preg_match("/DISTINCT(.*?)FROM(?!_)/is",$sql,$regs ) ) {