mirror of
https://github.com/e107inc/e107.git
synced 2025-07-25 00:41:52 +02:00
Closes #5094 - 'fields' option added to e107Export method. Accepts comma separated list.
This commit is contained in:
@@ -1067,7 +1067,8 @@ class xmlClass
|
||||
$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<dbTable name=\"".$eTable."\">\n";
|
||||
// $count = 1;
|
||||
while($row = e107::getDb()->fetch())
|
||||
|
Reference in New Issue
Block a user