Skip to content
Snippets Groups Projects
Commit 14ed6eb2 authored by Siju Mathew's avatar Siju Mathew Committed by Al Munnings
Browse files

Resolve #3503311 "Type error array keys argument "

parent 0beacdd0
No related branches found
No related tags found
2 merge requests!105Resolve #3503311 "Type error array keys argument ",!102Initial commit on module for GraphQL compose mutations
Pipeline #413318 passed
......@@ -415,7 +415,7 @@ class GraphQL extends DisplayPluginBase {
'#caption' => $this->t('GraphQL query %query', [
'%query' => $this->getGraphQlQueryName(),
]),
'#header' => array_keys(reset($rows)),
'#header' => array_keys($rows ? reset($rows) : []),
'#rows' => $rows,
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment