Skip to content
This repository has been archived by the owner on Jan 11, 2019. It is now read-only.

$title->mArticleID is always -1 #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

JensTimmerman
Copy link

it seems $title->mArticleID is always -1, I don't know why, but this check makes a redirect to the page where the login was started fail.

it seems `$title->mArticleID` is always -1, I don't know why, but this check makes a redirect to the page where the login was started fail.
@TomNaessens
Copy link

The reason is because the mArticleID is fetched on the demand. It shouldn't be accessed directly but one should use getArticleID(), which would probably result in a correct ID.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants