Skip to content

Commit

Permalink
Issue #91 Fix BC break with Yii < 2.0.10 due to normalizer
Browse files Browse the repository at this point in the history
  • Loading branch information
mikehaertl committed Feb 24, 2017
1 parent eb6ca1b commit 785769a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UrlManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public function parseRequest($request)
}
if ($process && !$this->_processed) {
// If a normalizer is configured, let it do it's job
if ($this->normalizer!==false) {
if (property_exists($this, 'normalizer') && $this->normalizer!==false) {
parent::parseRequest($request);
}
// Still here, so parent::parseRequest() didn't throw a UrlNormalizerRedirectException.
Expand Down

0 comments on commit 785769a

Please sign in to comment.