diff --git a/e107_handlers/xml_class.php b/e107_handlers/xml_class.php index 10a5d57f16..a5deb0a620 100644 --- a/e107_handlers/xml_class.php +++ b/e107_handlers/xml_class.php @@ -1067,7 +1067,8 @@ public function e107Export($xmlprefs, $tables, $plugPrefs=null, $themePrefs=null $eQry = " 1 ORDER BY ".$primaryKey." ASC"; } - e107::getDb()->select($eTable, "*", $eQry); + $fields = !empty($options['fields']) ? $options['fields'] : '*'; + e107::getDb()->select($eTable, $fields, $eQry); $text .= "\t\n"; // $count = 1; while($row = e107::getDb()->fetch())