Skip to content

Commit

Permalink
fix wrong check position
Browse files Browse the repository at this point in the history
  • Loading branch information
arif-rh committed Oct 14, 2016
1 parent a9b4181 commit fa23d6a
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 fa23d6a

Please sign in to comment.