Skip to content

Commit

Permalink
Merge branch 'master' of github.com:zingchart/ZingChart-PHP
Browse files Browse the repository at this point in the history
  • Loading branch information
jbogartPint committed Dec 1, 2016
2 parents 770bcef + 570dd29 commit f33174b
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 f33174b

Please sign in to comment.