We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 642a39b commit 161500bCopy full SHA for 161500b
2 files changed
CHANGELOG.md
@@ -1,6 +1,10 @@
1
CHANGELOG
2
==============
3
4
+2.1.3.1
5
+-----------------
6
+ * Fixed bugs
7
+
8
2.1.3
9
-----------------
10
* Fixed bugs
src/CmsSeoComponent.php
@@ -275,13 +275,18 @@ public function bootstrap($application)
275
276
$application->on(Application::EVENT_AFTER_REQUEST, function ($e) {
277
if ($this->_isTrigerEventCanUrl()) {
278
- $this->canUrl->event_after_request($e);
+ if ($this->canUrl) {
279
+ $this->canUrl->event_after_request($e);
280
+ }
281
}
282
});
283
284
$application->view->on(View::EVENT_END_PAGE, function ($e) {
285
- $this->canUrl->event_end_page($e);
286
287
+ $this->canUrl->event_end_page($e);
288
289
290
291
292
0 commit comments