mirror of https://github.com/MISP/MISP
fix: [opendata export] Fixed resource deletion query creation to avoid silent syntax errors
parent
46dcb3890f
commit
6195f81f3e
|
@ -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'] . "'";
|
||||
|
|
Loading…
Reference in New Issue