Skip to content

Commit

Permalink
left page block fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed Apr 22, 2020
1 parent e601248 commit b824297
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Plugin/Block/StartPageLeftBlock.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public function build()
$this->config = Repo::factory(drupal_get_path('module', 'acdh_repo_gui').'/config/config.yaml');

$data = $this->RVC->generateRootView('3', '0', 'datedesc');

if(!isset($data['data'])) {
$data['data'] = array();
}
//getRepoID
return [
'#theme' => 'acdh-repo-gui-main-page-left-block',
Expand Down

0 comments on commit b824297

Please sign in to comment.