Skip to content

Commit

Permalink
Fixing notice for non-existing views (#12434)
Browse files Browse the repository at this point in the history
  • Loading branch information
Hackwar authored and zero-24 committed Oct 16, 2016
1 parent 012e227 commit 7c0da74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/cms/component/router/view.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public function getPath($query)
$key = false;

// Get the right view object
if (isset($query['view']) && $views[$query['view']])
if (isset($query['view']) && isset($views[$query['view']]))
{
$viewobj = $views[$query['view']];
}
Expand Down

0 comments on commit 7c0da74

Please sign in to comment.