Skip to content

Commit

Permalink
Fix a bug on router extension attribution.
Browse files Browse the repository at this point in the history
  • Loading branch information
Filipe Silva committed Jan 15, 2015
1 parent 7e7ca53 commit efa21cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Slick/Mvc/Router.php
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ public function filter()
$extension = $this->application->getRequest()
->getQuery('extension');

if (strlen($extension < 1)) {
if (strlen($extension) < 1) {
$extension = $cfg->get('router.extension', 'html');
}
$routerInfo->extension = $extension;
Expand Down

0 comments on commit efa21cc

Please sign in to comment.