- Added some new request method (get, post, cookie & server).
- Fixed the Title extension
This commit is contained in:
1 parent
2df950a054
commit
0e201b77f2
2 files changed
+12
-9
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user