fix: [opendata export] Fixed resource deletion query creation to avoid silent syntax errors

pull/6031/head
chrisr3d 2020-07-08 15:57:01 +02:00
parent 46dcb3890f
commit 6195f81f3e
No known key found for this signature in database
GPG Key ID: 6BBED1B63A6D639F
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ class OpendataExport
if (!empty($this->__setup['resources'])) {
if (is_array($this->__setup['resources'])) {
foreach ($this->__setup['resources'] as $resource) {
$cmd .= ' ' . $resource;
$cmd .= " '" . $resource . "'";
}
} else {
$cmd .= " '" . $this->__setup['resources'] . "'";