Skip to content

Commit

Permalink
Merge pull request #3 from arif-rh/master
Browse files Browse the repository at this point in the history
fix wrong check position
  • Loading branch information
jbogartPint authored Nov 8, 2016
2 parents 02e4966 + fa23d6a commit 570dd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/zc.php
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ public function setTitle($title) {
}
public function setSubtitle($subtitle) {
$this->setConfig('subtitle.text', $subtitle);
if (!array_key_exists('subtitle', $this->config['adjust-layout'])) {
if (!array_key_exists('adjust-layout', $this->config['subtitle'])) {
$this->setConfig('subtitle.adjust-layout', true);
}
}
Expand Down

0 comments on commit 570dd29

Please sign in to comment.