Skip to content

Commit

Permalink
Fix undefined variable
Browse files Browse the repository at this point in the history
  • Loading branch information
nichtich committed May 30, 2024
1 parent 30a9828 commit 5ec0660
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/BaseTab.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function __construct(Configuration $configuration, string $id) {
$this->display["pareto"] = false;
$this->display["control-fields"] = false;
}
if ($this->catalogue->getSchemaType() == 'UNIMARC' || is_null($historicalDataDir)) {
if ($this->catalogue->getSchemaType() == 'UNIMARC' || is_null($this->historicalDataDir)) {
$this->display["history"] = false;
}
// TODO: disable more tabs when no data is available
Expand Down

0 comments on commit 5ec0660

Please sign in to comment.