ImportSourceCoreApi: fix listColumns

Prior to this fix, only object_name has been listed (while all properties
have been imported)

fixes #2763
This commit is contained in:
Thomas Gelf 2023-06-06 14:32:01 +02:00
parent 83f9c00e9b
commit abbf580696
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ class ImportSourceCoreApi extends ImportSourceHook
public function listColumns()
{
$res = $this->fetchData();
if (empty($data)) {
if (empty($res)) {
return array('object_name');
}