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:
parent
83f9c00e9b
commit
abbf580696
|
@ -30,7 +30,7 @@ class ImportSourceCoreApi extends ImportSourceHook
|
|||
public function listColumns()
|
||||
{
|
||||
$res = $this->fetchData();
|
||||
if (empty($data)) {
|
||||
if (empty($res)) {
|
||||
return array('object_name');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue