Skip to content

Commit

Permalink
Item13897: Fixed invalidTopic being referenced directly on $app
Browse files Browse the repository at this point in the history
  • Loading branch information
vrurg committed May 2, 2016
1 parent cb4a63d commit 4551def
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/lib/Foswiki/UI.pm
Expand Up @@ -463,14 +463,14 @@ sub checkTopicExists {
my $app = $this->app;
$op //= $app->request->action;

if ( $app->invalidTopic ) {
if ( $app->request->invalidTopic ) {
throw Foswiki::OopsException(
'accessdenied',
status => 404,
def => 'invalid_topic_name',
web => $web,
topic => $topic,
params => [ $op, $app->invalidTopic ]
params => [ $op, $app->request->invalidTopic ]
);
}

Expand Down

0 comments on commit 4551def

Please sign in to comment.