diff --git a/src/zc.php b/src/zc.php index 50cc585..c3605dc 100644 --- a/src/zc.php +++ b/src/zc.php @@ -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); } }