- Added some new request method (get, post, cookie & server).

- Fixed the Title extension
This commit is contained in:
Dave Mc Nicoll committed 2020-02-05 16:20:31 -05:00
1 parent 2df950a054
commit 0e201b77f2
2 files changed
+12 -9

No files matched your search

+4 -1
View File
@@ -29,7 +29,10 @@ class TitleExtension implements Extension {
return $this->title;
}
else {
$this->title = $set;
# Fixed a bug where template inheritance was rewriting title
if ( empty($this->title) ) {
$this->title = $set;
}
}
return null;