Skip to content

Attempt to visit page not already in log breaks plugin #2

@CNG

Description

@CNG

I installed on a new MT 6.2 using Perl 5.18.2, and attempts to visit nonexistent pages just redirected to the home page. I believe this is due to a change in a recent commit at 25b40fd#diff-de9c034f832ab2db1f5e6f670cef20aeR56

This was the original line:

if ($log->mapping) {

And it was changed to:

if ($log->mapping !~ /$target/) {

But I think it might need to be changed to:

if ($log->mapping && $log->mapping !~ /$target/) {

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions