fix: [export] JSON export used the wrong handler for /objects/restSearch

pull/5871/head
iglocska 2020-05-06 09:29:52 +02:00
parent d721c9738d
commit 37c5684e79
No known key found for this signature in database
GPG Key ID: BEA224F1FEF113AC
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ class JsonExport
} else if($options['scope'] === 'Event') {
return $this->__eventHandler($data, $options);
} else if($options['scope'] === 'Object') {
return $this->__eventHandler($data, $options);
return $this->__objectHandler($data, $options);
} else if($options['scope'] === 'Sighting') {
return $this->__sightingsHandler($data, $options);
}